-
Notifications
You must be signed in to change notification settings - Fork 3
Chromaticity measurement alexandre moutardier #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chromaticity measurement alexandre moutardier #125
Conversation
…plot' as no default value un cfg)
…ent_Alexandre_Moutardier
|
Thanks @Amoutardier for this nice job !
tune = self._peer.get_betatron_tune_monitor(self._cfg.betatron_tune)
rf = self._peer.get_rf_plant(self._cfg.RFfreq)
|
|
2 additional remarks:
|
|
@Amoutardier import time
from pyaml.accelerator import Accelerator
import numpy as np
sr = Accelerator.load("tests/config/EBS_chromaticity.yaml")
sr.design.get_lattice().disable_6d()
alphac = sr.design.get_lattice().get_mcf()
print(alphac)
chromaticity_monitor = sr.live.get_chromaticity_monitor("KSI")
chromaticity_monitor.chromaticity_measurement(do_plot=True, fit_order=1, alphac=alphac, N_tune_meas=1, N_step=5, Sleep_between_meas=0, Sleep_between_RFvar=4, E_delta=1e-3, Max_E_delta=1e-3)
ksi = np.abs(chromaticity_monitor.chromaticity.get())
print(ksi) |
gubaidulinvadim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is good. We probably need to place this chromaticity measurement in a different place. It is different from TuneMonitor because for tune there's a direct connection to a device that gives Q_x and Q_y (we can imagine the same for Q_s too). In this case, it is a real measurement that is not done in the background transparently. We do not have any "measurement" directory and, for me, this is a measurement, not a "tuning tool".
|
I agree. |


Module to measure chromaticity using frequency shift method.