Grism Spectrograph — Interactive Optical Model

A live, physics-based model of the dispcraft grism spectrograph: field position + wavelength → detector centroid. Drag the sliders to see how each parameter reshapes the light path and the resulting spectral trace.

Optical path

Spectral trace on the detector

Derived quantities

Prism deviation (mid-λ)
Grating deviation (mid-λ)
Net grism deviation (mid-λ)
Blaze / undeflected wavelength
Dispersion at (y0,z0), mid-λ
Angular magnification (cam_f / coll_f)