Skip to content
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: Radiation/Synchrotron Integrals #118

Closed
T-Nicholls opened this issue Jun 7, 2019 · 4 comments
Closed

pyat: Radiation/Synchrotron Integrals #118

T-Nicholls opened this issue Jun 7, 2019 · 4 comments

Comments

@T-Nicholls
Copy link
Contributor

I have been working on an interactive Linear Optics and lattice editing GUI for an accelerator physicist here at Diamond.

Side note: a big thank you to @lfarv as the at.plot functionality has worked well and been very helpful.

He would like some Global Linear Optics Properties displayed which are not currently calculated in pyat (Linear Dispersion Action, Momentum Spread and the Damping Partition Numbers). As I understand it, these are all calculated from / related to the Radiation Integrals. To save time we are working around the issue and trying to calculate them from the outputs of functions currently in pyat. However, after discussion with him he has said that the accelerator physics group at Diamond are very interested in the Synchrotron Integrals when developing lattices. So, although not that important it would be nice if we could calculate them in pyat.

  • Has anyone else encountered this need?
  • If yes, did you write any Python code for calculating them?
  • If not, would anyone else be interested if I wrote it?
  • If I were to go about writing a Python function for this, would the best method just be to convert the current Matlab function?
@lfarv
Copy link
Contributor

lfarv commented Jun 7, 2019 via email

@T-Nicholls
Copy link
Contributor Author

@lfarv, Thank you for the quick reply I will take a look at atx.m on Monday.

@T-Nicholls
Copy link
Contributor Author

@lfarv, thank you for the direction, the methods found in at.x worked a treat.
My first attempt at a Python synchrotron integrals function can be found on #120, but requires more work.

@T-Nicholls
Copy link
Contributor Author

Closing as this has now been nicely implemented by @lfarv on #122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants