Some mechanism to rotate a ring lattice
Posted: 08 Feb 2020, 00:17
Hi Michael,
Normally people want to maintain a single lattice file with a specified starting point. However, for some applications, for example injection and extraction simulations, as well as local momentum aperture simulations, one needs to rotate the lattice and start tracking from a different element but at the meantime keep all the lattice settings. I don't know the detail about how you managed to handle this issue in the built-in momentum_aperture command, but I think it could be helpful to add some commands to allow the users to adjust the start of the lattice for further tracking. At least one could rotate the lattice and dump it to an external file using save_lattice and then call the new lattice later, so that the whole procedure could be scripted rather than done manually.
Best,
Zhe
Normally people want to maintain a single lattice file with a specified starting point. However, for some applications, for example injection and extraction simulations, as well as local momentum aperture simulations, one needs to rotate the lattice and start tracking from a different element but at the meantime keep all the lattice settings. I don't know the detail about how you managed to handle this issue in the built-in momentum_aperture command, but I think it could be helpful to add some commands to allow the users to adjust the start of the lattice for further tracking. At least one could rotate the lattice and dump it to an external file using save_lattice and then call the new lattice later, so that the whole procedure could be scripted rather than done manually.
Best,
Zhe