Confusion about the “2 steps matching optimization” in the MATCH command
Posted: Tue 28 Oct 2025 08:22
I am trying to understand the “2 steps matching optimization for (1) and (2)” part in the MATCH command (see attached screenshot).
In the panel, there are three matching options:
(1)Calculate input matched beam
(2)Match with Family & Twiss commands
(3)Match using Diagnostics
Below that, it says “2 steps matching optimization for (1) and (2)”, and the first step mentions:
Set Twiss parameters at first period input and output equal.
I understand that this means the program tries to find periodic conditions for the Twiss parameters. However, my beamline is not a periodic structure — it is a linear transport from the low-energy section to the high-energy section of a neutron generator.
So my question is:
Why does the first step still require the Twiss parameters at the input and output to be equal?
How does this “first step” behave when the system is not periodic?
In my case, should I still keep this option checked when performing a normal matching (not a periodic one)?[/size]
Any clarification on how this 2-step optimization works internally in non-periodic cases would be very helpful.
Thanks in advance!
In the panel, there are three matching options:
(1)Calculate input matched beam
(2)Match with Family & Twiss commands
(3)Match using Diagnostics
Below that, it says “2 steps matching optimization for (1) and (2)”, and the first step mentions:
Set Twiss parameters at first period input and output equal.
I understand that this means the program tries to find periodic conditions for the Twiss parameters. However, my beamline is not a periodic structure — it is a linear transport from the low-energy section to the high-energy section of a neutron generator.
So my question is:
Why does the first step still require the Twiss parameters at the input and output to be equal?
How does this “first step” behave when the system is not periodic?
In my case, should I still keep this option checked when performing a normal matching (not a periodic one)?[/size]
Any clarification on how this 2-step optimization works internally in non-periodic cases would be very helpful.
Thanks in advance!