Skip to content
Snippets Groups Projects
Commit 6734035a authored by Vadim Gubaidulin's avatar Vadim Gubaidulin
Browse files

- removed the old corr computation

parent ecf337f5
No related branches found
No related tags found
1 merge request!9Emittance calculation
...@@ -282,7 +282,6 @@ class Bunch: ...@@ -282,7 +282,6 @@ class Bunch:
""" """
Return the bunch emittance for each plane. 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_x = np.cov(self['x'], self['xp'])
cov_y = np.cov(self['y'], self['yp']) cov_y = np.cov(self['y'], self['yp'])
......
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