Skip to content
Snippets Groups Projects
Commit 7c015f3c authored by Alexis GAMELIN's avatar Alexis GAMELIN
Browse files

[Fix] CavityResonator.is_CBI_stable

parent aeebff52
No related branches found
No related tags found
1 merge request!280.8.0
......@@ -171,6 +171,8 @@ class CavityResonator():
Plot phasor diagram.
is_DC_Robinson_stable(I0)
Check DC Robinson stability.
is_CBI_stable(I0)
Check Coupled-Bunch-Instability stability.
plot_DC_Robinson_stability()
Plot DC Robinson stability limit.
init_tracking(beam)
......@@ -950,7 +952,7 @@ class CavityResonator():
modes=None,
bool_return=False):
"""
Check Coupled-Bunch-Instability stability,
Check Coupled-Bunch-Instability stability.
Effect of Direct RF feedback is not included.
This method is a wraper around lcbi_growth_rate to caluclate the CBI
......@@ -1003,9 +1005,9 @@ class CavityResonator():
if bool_return:
if growth_rate > 1 / self.ring.tau[2]:
return True
else:
return False
else:
return True
else:
return growth_rate, mu
......
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