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
touschek_scatter output including element name
Moderators: cyao, michael_borland
-
- Posts: 76
- Joined: 29 Oct 2021, 10:41
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: touschek_scatter output including element name
This is a good suggestion, but would be fairly complicated to implement.
As an alternative, I added some parameters to the output file that should help you do what you want. These are ElementName, ElementOccurence, PreviousElementName, PreviousElementOccurence, NextElementName, and NextElementOccurence.
This change will appear in the next release.
--Michael
As an alternative, I added some parameters to the output file that should help you do what you want. These are ElementName, ElementOccurence, PreviousElementName, PreviousElementOccurence, NextElementName, and NextElementOccurence.
This change will appear in the next release.
--Michael