-
Notifications
You must be signed in to change notification settings - Fork 31
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
pyat: Optics #4
Comments
From @bnash on October 11, 2016 14:30 Here is a simple function to compute the 6x6 one turn map matrix. From this we can compute generalized Twiss parameters, invariants, etc. May still be a good idea to have uncoupled limits to get simple Twiss params.
|
Three backticks before the code and three backticks afterwards. |
(Backtick is top-left on the UK keyboard). |
From @bnash on October 11, 2016 15:3 Thanks, next step is to make a version of the amat function (linear normal form, converts matrix to 3 rotations) From there, we can also make generalized lattice functions with Forests 'betaoids' and 'etaoids' https://github.com/willrogers/at/blob/pyat/atmat/pubtools/local_lattice_params/find_betaoids.m We also need to make utilities for computing things at different places around the ring. Many of the functions in Matlab AT accept a set of indices that compute the quantities at those positions in the lattice. |
From @bnash on October 11, 2016 15:7 amat can also be used to compute eigenemittance following computing second moment matrix (Sigma) from ohmi-envelope |
We now have substantial progress on this so I will close the ticket. |
From @willrogers on July 21, 2017 14:23
From @willrogers on October 6, 2016 20:59
I was going to base the requirements on what I need for a python middle layer type application: twiss parameters, tunes etc.
There is a lot of stuff in AT, but there's no need to make a complete clone, at least to start with, and translating Matlab to Python is relatively straightforward. The code should be more compact in Python as well.
Copied from original issue: willrogers/at#11
Copied from original issue: atcollab/at2devel#5
The text was updated successfully, but these errors were encountered: