File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,13 @@ def detune(self, beam):
9696 # Jy = (beam.y**2 + (self.beta_y * beam.yp)**2) / (2.*self.beta_y)
9797
9898 Jx = 1 / 2 * (
99- (1 + alpha_x ** 2 )/ beta_x * beam .x ** 2
100- + 2 * alpha_x * beam .x * beam .xp
101- + beta_x * beam .xp ** 2 )
99+ (1 + self . alpha_x ** 2 )/ self . beta_x * beam .x ** 2
100+ + 2 * self . alpha_x * beam .x * beam .xp
101+ + self . beta_x * beam .xp ** 2 )
102102 Jy = 1 / 2 * (
103- (1 + alpha_y ** 2 )/ beta_y * beam .y ** 2
104- + 2 * alpha_y * beam .y * beam .yp
105- + beta_y * beam .yp ** 2 )
103+ (1 + self . alpha_y ** 2 )/ self . beta_y * beam .y ** 2
104+ + 2 * self . alpha_y * beam .y * beam .yp
105+ + self . beta_y * beam .yp ** 2 )
106106
107107 dQ_x = (self .dapp_x * Jx + self .dapp_xy * Jy ) / beam .p0
108108 dQ_y = (self .dapp_y * Jy + self .dapp_xy * Jx ) / beam .p0
You can’t perform that action at this time.
0 commit comments