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

reapplied yapf formatter

parent d94adbb7
Branches
Tags 0.0.8
1 merge request!13v0.7.0
...@@ -287,7 +287,8 @@ class Bunch: ...@@ -287,7 +287,8 @@ class Bunch:
cov_y = np.cov(self['y'], self['yp']) cov_y = np.cov(self['y'], self['yp'])
cov_z = np.cov(self['tau'], self['delta']) cov_z = np.cov(self['tau'], self['delta'])
if (np.array(self.ring.optics.local_dispersion) != np.array([0, 0, 0, 0])).all(): if (np.array(self.ring.optics.local_dispersion)
!= np.array([0, 0, 0, 0])).all():
cov_xdelta = np.cov(self['x'], self['delta']) cov_xdelta = np.cov(self['x'], self['delta'])
cov_xpdelta = np.cov(self['xp'], self['delta']) cov_xpdelta = np.cov(self['xp'], self['delta'])
cov_ydelta = np.cov(self['y'], self['delta']) cov_ydelta = np.cov(self['y'], self['delta'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment