Skip to content

Synchrotron frequency with harmonic and main cavity in pyat #595

Answered by swhite2401
oscarxblanco asked this question in Q&A
Discussion options

You must be logged in to vote

Dear @oscarxblanco,

I admit this is very confusing in AT but we have to maintain these historical functions for backward compatibility: the results is that there are several ways to get the same quantity with different approximations.

After a quick look at the code:
The synchrotron frequency in at.radiation_parameters(ring) derives from analytical formulas that do not take into account the harmonic voltage. atx on the other hand uses the 6D transfer map that includes everything.

In pyAT you may use ring.get_tune() that can either analyze the 6D map like atx or compute tunes form tbt data, this would be my recommended method to get the tunes.
The Tunes output of print(at.radiation_paramete…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oscarxblanco
Comment options

oscarxblanco Apr 25, 2023
Collaborator Author

Answer selected by oscarxblanco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants