sergey-tomin

Results 24 comments of sergey-tomin

HI Jonas, Ocelot uses almost the same coordinate system as MAD8, except for the sign in the 5th coordinate. Thus: x' = px/p0 and y' = py/p0. A description of...

Ocelot uses canonical momentums. So everywhere it should be px and py. in description I wrote x'=px/p0 just to describe second variable of the canonical pair. But I agree it...

HI, If I understand you correctly we do not have yet a "nice" way to do this. Ideally, we need to specify the reference energy of any magnetic element. Then,...

Hi Jonas, you should not use twiss object for this study. ParticleArray is what you need and ParticleArray.tau() is what you are looking for. this is time coordinate for each...

If I look to the definition I see: tau = c*t - s/b0 s is independent variable which is the distance along the beam line (which, in turn, is the...

hi, I haven't modeled jitters, so I may not have caught the whole problem, but if you have jitter in phase in the cavity, you just put that jitter in...

hi, I introduced in ocelot what can help with your problem [a7aaa15c786a8ab030f57562b4f47e2d30fba102](https://github.com/ocelot-collab/ocelot/commit/a7aaa15c786a8ab030f57562b4f47e2d30fba102) example how to use it see here: https://nbviewer.org/github/ocelot-collab/ocelot/blob/dev/demos/ipython_tutorials/small_useful_features.ipynb#jitter

Hi Jonas, >>I don't think it's quite correct to set p_array.E = self.Eref ... I think as it is now it is correct. this procedure should not change the mean...

Energy coordinate in the OCELOT is p=(E - E0)/p0c if you calculate for each particle energy E before this procedure and after this procedure it should be the same. Particle...

Hi, * ocelot.adaptors.elegant2ocelot.py is an old solution to convert elegant to ocelot lattice file. Now we maintain and develop ocelot.adaptors.elegant_lattice_convertor as the main adapter (@yefomin Evgeniy develops it). * Watch...