-
Notifications
You must be signed in to change notification settings - Fork 29
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
atenergy computes the harmonic number from the RF frequency #350
Conversation
Hello, I think the harmonic number is stored in the ringParam element, if that exists. So maybe atenergy should first check there, and after it can computes from the frequency of the first cavity if there is no ringParam element. |
@carmignani : excellent remark. I'll do that. |
may be also the radiation state of the ring could be added to atGetRingParam ? |
and may be atGetRingParam could also store the dp/p and RF shift of the the ring? |
@simoneliuzzo: in principle, I agree.But practically, "RingProperties" is an image of what is stored in the RingParam element. It is difficult to store there information which may be modified without going through |
The upgrade is now more ambitious: |
atenergy
does not rely any more on theHarmNumber
field of cavity elements. It computes the harmonic number from the frequency of the 1st RF cavity.