Update methods for ImpedanceModel and BeamLoadingEquilibrium
Compare changes
Files
2- Alexis GAMELIN authored
The energy_loss and power_loss_spectrum methods for ImpedanceModel can now take any bunch spectrum in optional agrument. Add bunch_spectrum and plot_bunch_spectrum to BeamLoadingEquilibrium.
+ 101
− 25
@@ -305,7 +305,7 @@ class ImpedanceModel():
@@ -496,29 +496,51 @@ class ImpedanceModel():
@@ -532,9 +554,24 @@ class ImpedanceModel():
@@ -566,42 +603,60 @@ class ImpedanceModel():
@@ -612,8 +667,8 @@ class ImpedanceModel():
@@ -629,10 +684,31 @@ class ImpedanceModel():