Phase Mask [Stitching Error]¶
1 Purpose¶
The Phase Mask [Stitching Error] models positional stitching errors that can occur when a linear grating is fabricated row by row.
The twin is intended to be placed directly behind an otherwise nominal grating. It does not replace the grating itself. Instead, it adds the phase perturbation associated with random lateral displacement of successive written stripes.
2 Geometric Support¶
The model represents a sequence of stripes of height \(h\). Each stripe receives an independent lateral displacement \(s\) in the range
The stripe pattern is aligned with the component x-axis. Rotate the component relative to the nominal grating when the stripe orientation needs to be aligned orthogonally to the grating grooves.
3 Supported Channels¶
The current SDK specification defines the following channel behavior:
| Channel | Behavior |
|---|---|
| +/+ | Stitching-error functionality is applied. |
| ± | Not activated. |
| -/- | Pass-through; incident light is not modified. |
| -/+ | Not activated. |
4 Simulation Model¶
The model is based on the detour-phase principle. A lateral displacement \(s\) of a grating stripe with nominal grating period \(d\) produces the phase shift
The incident field is decomposed according to the stripe structure. Each stripe is assigned a random displacement \(s\), and the corresponding constant phase offset is applied to that subfield.
Smooth transition edges of width \(\Delta w_e\) are used between neighboring subfields for numerical sampling.
5 Parameters Where This Sheet Adds Guidance¶
6 Recommended Usage¶
Use this twin when a nominal linear grating should be investigated together with random row-placement errors introduced during fabrication.
Practical Setup¶
- Build the optical system with the nominal grating.
- Place CF-PMST01 directly behind the grating.
- Set the grating period \(d\).
- Set the stripe height \(h\).
- Set the maximum stitching displacement \(s_{\max}\).
- Set the beam diameter large enough to cover the illuminated region.
- Use a positive seed for reproducible comparison studies.
- Use a negative seed when different random realizations are desired between runs.
- Reduce Edge Width only together with a sampling-convergence check.
- Compare the system with and without the phase mask to isolate the influence of stitching errors.
7 Related Twins¶
| Related Twin | Main Distinction |
|---|---|
| CF-PHMC01 - Phase Mask [Constant] | Applies a spatially uniform phase shift rather than stripe-wise random detour phase. |
| CF-PHMV01 - Phase Mask [Vortex] | Applies a deterministic azimuthal phase structure. |
| CF-PPUD01 - Wavefront Phase Modifier [User Defined] | Provides a general user-defined phase function instead of this dedicated stitching-error model. |
| CS-GRRO01 - Grating [RCWA, Orders] | Represents the nominal grating response rather than the additional stitching-error phase perturbation. |
8 Possible Replacement Twins¶
| Possible Replacement Twin | When It Replaces This Twin |
|---|---|
| CF-PPUD01 | Use when the fabrication-error phase map is known explicitly or follows a custom deterministic model. |
| Full structure-based grating model | Use when the displaced geometry itself must be modeled rigorously rather than represented by detour phase. |
9 Further Reading¶
- VirtualLab Fusion 2026.2 release notes - current Twin name Phase Mask [Stitching Error].
- A. Lohmann and B. P. Paris, "Binary Fraunhofer holograms generated by computer," Applied Optics 6(10), 1739-1748 (1967).
- J. Bucklew and N. C. Gallagher Jr., "Comprehensive error models and a comparative study of some detour-phase holograms," Applied Optics 18(16), 2861-2869 (1979).
- No dedicated LightTrans tutorial or use case for CF-PMST01 was found in the current documentation repository search.