Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-tomin committed Aug 23, 2019
2 parents c076fa0 + 721af61 commit 088a643
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocelot/cpbd/physics_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ def apply(self, p_array, dz):
_logger.debug("SpontanRadEffects: apply")
mean_p = np.mean(p_array.p())
energy = p_array.E*(1 + mean_p)
gamma = energy / m_e_GeV

if self.type == "dipole":
self.K = 100.0 # awake the asymptotic for K>>1
Expand Down

0 comments on commit 088a643

Please sign in to comment.