SRW Propagation Parameters - radiasoft/sirepo GitHub Wiki
Propagation Parameters
SRW manages wavefront propagation using so-called "Propagation Parameters":

The propagation parameters are specified for each optical element and drift in both Sirepo and SRW to transform the wavefront to allow better resolution and to achieve the desired field of view at the necessary watch point.
Description of the propagation parameters
(format: [number of column]. description)
- Auto-Resize (
1) or not (0) Before propagation. - Auto-Resize (
1) or not (0) After propagation. - Relative Precision for propagation with Auto-Resizing (
1.0is nominal). - Type of the propagator:
0 - Standard- Fresnel (it uses two FFTs);1 - Quadratic Term- with semi-analytical treatment of the quadratic (leading) phase terms (it uses two FFTs);2 - Quadratic Term - Special- special case;3 - From Waist- good for propagation from "waist" over a large distance (it uses one FFT);4 - To Waist- good for propagation to a "waist" (e.g. some 2D focus of an optical system) over some distance (it uses one FFT).
- Do any Resizing on Fourier side, using FFT, (
1) or not (0). - Horizontal Range modification factor at Resizing (
1.0means no modification). - Horizontal Resolution modification factor at Resizing (
1.0means no modification). - Vertical Range modification factor at Resizing (
1.0means no modification). - Vertical Resolution modification factor at Resizing (
1.0means no modification).
Partially implemented in SRW, but not used in Sirepo yet:
- Optional: Type of wavefront Shift before Resizing (vs which coordinates; to be implemented).
- Optional: New Horizontal wavefront Center position after Shift (to be implemented).
- Optional: New Vertical wavefront Center position after Shift (to be implemented).
- Optional: Orientation of the Output Optical Axis vector in the Incident Beam Frame: Horizontal Coordinate.
- Optional: Orientation of the Output Optical Axis vector in the Incident Beam Frame: Vertical Coordinate.
- Optional: Orientation of the Output Optical Axis vector in the Incident Beam Frame: Longitudinal Coordinate.
- Optional: Orientation of the Horizontal Base vector of the Output Frame in the Incident Beam Frame: Horizontal Coordinate.
- Optional: Orientation of the Horizontal Base vector of the Output Frame in the Incident Beam Frame: Vertical Coordinate.