So I'm continuing on with my conversion of the Excel optics code into Open Office Calc. I've been calling the code Open Optics. I've almost finished the part where a lattice is copied together with the appropriate formulas for calculating some uncoupled parameters by adding them up around the ring. Hard to keep up momentum on this project, because I think that no one will really use it.
But its really not that hard of a job to do, so I can keep moving forward slowly.
For a second project, I have two different possibilities. One is working on the idea of developing a TPSA library to work with Accelerator Toolbox (AT), so that the one turn map can be computed and used to optimize various quantities.
Secondly, there is the need for more collaboration on Accelerator Toolbox. Many different people use it at different labs and they are repeating the work. I can try to put the code in a central repository so that people can work together on it. This is probably the first thing to do before working on the TPSA project. Once more people are working together, it may be easier to use existing code and get more ideas about the right way to combine AT with TPSA. Of course, then, something like a normal form algorithm should be written- or at least something to find tune shift with amplitude.
For the moment, I need to learn better how to use Sourceforge and SVN. I did this with the Tracy code, but my collaborator knew more about it than me. I should set it up myself, and figure out how to do it from behind the firewall, etc.
Finally, there is MAD-X and PTC. This is the existing rich TPSA, normal form code. But its not used that much for light sources, and the tracking routines are somewhat obscure- buried in the PTC Fortran 90. Getting this physics (well, sort of- symplectic integration) out in the open, would be part of the point of collaborating on AT. The tracking routines are very easy to find and read there.
No comments:
Post a Comment