Closed ReidarQin closed 8 months ago
I would say this is probably due to the fact that ocelot automatically expands the Dipole
to a [Edge, Dipole, Edge]
sequence with edge focusing effects. Not sure if that's all though.
yes, the reason is what Chenran pointed out. Actually, I asked @ReidarQin to open this issue. Because, it might be useful to have s position along the beam line in order to display Rnn(s) or Tnnn(s). I think I will do it next week.
done, see CHANGELOG and commit https://github.com/ocelot-collab/ocelot/commit/982a67c1c66d2a8cac6b823f2fe3bdabe0c0c1e3
Hi Sergey, I found that when using lat.transfer_maps() and lat.sequence() gives different length of outcome (see the quote below). The reason of doing this is that I want to plot s versus transfer matrix element, e.g. R56, so I need a consistent outcome length. You have a second loop in transfer_maps() calculation for some dipoles etc, which causes longer output for matrix than sequence.
Perhaps you can add s as part of the output when output_at_each_step is enabled?
Best, WQ