def norm_emit_4d(self):       
     """Normalized emittance in the xy planes (4D)"""
     return norm_emit_calc(self, planes=['x', 'y'])    
 def sqrt_norm_emit_4d(self):
     return np.sqrt(norm_emit_calc(self, planes=['x', 'y']))
 def norm_emit_y(self):       
     """Normalized emittance in the x plane"""
     return norm_emit_calc(self, planes=['y'])
Example #4
0
 def root_norm_emit_6d(self):
     pg = copy.deepcopy(self)
     pg.drift_to_t()
     return np.power(norm_emit_calc(pg, planes=['x', 'y', 'z']), 1.0 / 3.0)