Skip to content
Snippets Groups Projects

Emittance calculation

Merged GUBAIDULIN requested to merge emittance_calculation into develop
2 unresolved threads
1 file
+ 0
1
Compare changes
  • Side-by-side
  • Inline
@@ -282,7 +282,6 @@ class Bunch:
"""
Return the bunch emittance for each plane.
"""
cor = np.squeeze([[self[name] - self[name].mean()] for name in self])
cov_x = np.cov(self['x'], self['xp'])
cov_y = np.cov(self['y'], self['yp'])
Loading