Physical Optics

Gaussian / super-Gaussian field · angular spectrum propagation · thin optical elements

Configurations

Configuration help

The empty system keeps the current beam and simulation settings and starts with 0.1 m of space. CSV saves beam, simulation and display settings and the optical sequence, not calculated results. Load files saved by this page.

Beam inputs

coherent field in the input medium
Advanced: source alignment and sampling
Beam and sampling help

Enter the D4σ diameter at the waist; the field width is converted from this value for the selected beam profile. For a Gaussian, z₀ is the waist position relative to the source, positive downstream. For a super-Gaussian, z₀ is disabled and the source intensity is I(r) = I₀ exp(−2(r/w₀)²ᴾ); P = 1 gives a Gaussian. Source decenter shifts the field in x and y; source angles add a linear phase tilt. Angles are paraxial transverse direction cosines expressed in mrad, accurate as angles for small tilts. A super-Gaussian generally has M² > 1; M² alone does not specify a coherent field. Automatic window uses one fixed width for the entire path; disable it to set a manual width.

Optical sequence

drag handles or use arrows to reorder; names are editable; distances are in metres
#ElementNameValue (m)Decenter x (m)Decenter y (m)Medium indexPhase power (1/m)Phase slopeOrder
Optical sequence help

Value: space length, thin-lens focal length (signed), or circular aperture diameter. Decenter shifts the lens, aperture or phase element in x and y; positive x is upward in the path plot. Imported surfaces use a paraxial phase: optical-path power times radius squared / 2 plus slope times x. The medium index is the propagation index for spaces and output index for phase elements. Keep adjacent indices consistent when editing.

Ready.

Intensity along optical path

central y = 0 slice · normalized independently at each plane
0%25%50%75%100%

Click the plot to select a plane. Green: lenses and phase surfaces; amber: apertures; purple: observers.

Intensity plot help

The selected color map and intensity scale apply to both plots. This is the x profile at y = 0, so a beam displaced in y can be faint or absent in this slice. Each plane is normalized to its own 2D peak, so the colors do not show absolute intensity changes along the path. Logarithmic intensity uses 10 log₁₀(I/Ipeak); values at or below −40 dB, including zero, use the darkest color.

Selected plane

2D intensity · normalized to this displayed plane's peak
Run propagation first.
Position—
Peak relative intensity (I/Iref)—
Integrated relative intensity ∫(I/Iref) dA—
COG x—
COG y—
Direction x (observer only)—
Direction y (observer only)—
D4σ diameter x—
D4σ diameter y—
M² x (observer only)—
M² y (observer only)—
Selected plane help

The 2D plot uses the selected intensity scale and is normalized to its own displayed peak; zero intensity uses the darkest color. Positive x is to the right and positive y is downward in the 2D plot. Iref is the Gaussian input waist's peak intensity or the super-Gaussian source peak intensity. Peak I/Iref is dimensionless. Integrating I/Iref over area gives mm²: it is an effective area, not optical power. No input power is specified, so absolute irradiance and power are not calculated. At 1024 grid size, the 2D image is averaged to 512 × 512 pixels to limit memory; propagation, the path slice and metrics use the full grid.

Observer plane metrics

Observerz (m)COG x (mm)COG y (mm)Direction x (mrad)Direction y (mrad)D4σ x (mm)D4σ y (mm)M² xM² y
Observer metrics help

COG is the intensity centroid; direction is the mean transverse direction cosine, expressed in mrad (approximately the angle for small tilts). D4σ is four times the intensity standard deviation about that centroid. M² is calculated from the complex field's spatial and angular second moments at each observer, using the paraxial approximation; it is not an ISO measurement or a through-focus fit. A hard aperture with nonzero edge intensity has a divergent ideal paraxial angular second moment. Numerical M² depends on grid, window and band-limiting; compare settings and check convergence.

Model and sampling notes

ASM propagates a sampled complex field in uniform media using the angular spectrum transfer function. Transferred thick lenses use paraxial surface phases and propagation through the lens medium. Mirrors use an unfolded path and twice the mirror tilt; interfaces and wedges use paraxial phase shifts. Apertures are circular hard masks. Fresnel losses, reflections at refractive surfaces, aberration and polarization are not modelled. Super-Gaussians start at the source with a flat phase plus any specified tilt; their subsequent propagation is simulated rather than inferred from an M² value.

Band-limiting rejects propagating spatial frequencies whose transfer-function phase changes by more than π per frequency bin in either direction, using the distance from the start of each space. The reported fraction is the largest fraction of input spectral power rejected in any one propagation, not a physical aperture loss. The filter can remove genuine fine detail and power; compare with it disabled and check convergence. Aperture-edge diffraction remains.

Automatic sizing starts with the input beam and repeats the entire propagation with a 50% wider window until no sampled plane has more than 0.1% of its power in the outer edge region, or five attempts have been made. The grid size stays fixed, so increasing the window reduces spatial resolution. This edge test is a heuristic, not a guarantee: wraparound between sampled planes and undersampling can go undetected. Check convergence with a larger window and grid.

The FFT assumes a periodic transverse window: light reaching its edges wraps around. A warning is shown when more than 0.1% of a sampled plane's intensity lies in its outer edge region. This is not a guarantee of accuracy: check convergence by increasing both window width and grid resolution, and check that focused spots and lens phase are adequately sampled.