slactrac.Quad.change_E¶
-
Quad.change_E(old_gamma, new_gamma)[source]¶ Scale the setpoint energy of the magnet from the old energy old_gamma to new energy new_gamma.
The best way to think about this is that the angle will change with different beam energy, so changing the beam energy changes the magnet’s properties, because the magnet’s B-field stays the same.