touschek_scatter output including element name
Posted: 09 Mar 2023, 03:32
Dear all,
the function touschek_scatter allows to split the output in several files with an index taken from an inner counter.
This works well if all touschek scattering elements have the same name, therefore, the counter and the output index are the same.
However, I wonder if it is possible to use different names for the touschek scattering element, therefore, having a counter per element name and a total counter. For example,
<rootname>_<element-name>_<element-name-counter>_<total-element-counter>.loss
This would allow to quickly classify the touschek scattering outputs by name, which should be easier to analyse lattice sections with similar optics.
Best regards,
o
the function touschek_scatter allows to split the output in several files with an index taken from an inner counter.
This works well if all touschek scattering elements have the same name, therefore, the counter and the output index are the same.
However, I wonder if it is possible to use different names for the touschek scattering element, therefore, having a counter per element name and a total counter. For example,
<rootname>_<element-name>_<element-name-counter>_<total-element-counter>.loss
This would allow to quickly classify the touschek scattering outputs by name, which should be easier to analyse lattice sections with similar optics.
Best regards,
o