Skip to content

Commit 088a643

Browse files
committed
Merge remote-tracking branch 'remotes/origin/dev'
2 parents c076fa0 + 721af61 commit 088a643

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ocelot/cpbd/physics_proc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ def apply(self, p_array, dz):
435435
_logger.debug("SpontanRadEffects: apply")
436436
mean_p = np.mean(p_array.p())
437437
energy = p_array.E*(1 + mean_p)
438+
gamma = energy / m_e_GeV
438439

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

0 commit comments

Comments
 (0)