Skip to content
Snippets Groups Projects
Commit e8dca096 authored by Mamad Eshraqi's avatar Mamad Eshraqi
Browse files

removed a reference to spr in emit_norm which was not needed

parent da7e5f17
No related branches found
No related tags found
No related merge requests found
Pipeline #11430 passed
...@@ -172,7 +172,7 @@ def emit_norm(u_up_array, gamma): ...@@ -172,7 +172,7 @@ def emit_norm(u_up_array, gamma):
normalized emittance of the distribution/array in units of pi.mm.mrad normalized emittance of the distribution/array in units of pi.mm.mrad
''' '''
#from ess import SP_Relativity as spr #from ess import SP_Relativity as spr
bt = spr.beta_from_gamma(gamma) bt = beta_from_gamma(gamma)
geo_emit = emit_geo(u_up_array) geo_emit = emit_geo(u_up_array)
emit = bt * gamma * geo_emit emit = bt * gamma * geo_emit
return emit return emit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment