 Spectrographs are extensively used in astronomy to observe the spectra of stars and other astronomical objects.Insertion of a grism in the collimated beam of an astronomical imager transforms that camera into a spectrometer, since the beam still continues in approximately the same direction when passing through it.The deflection of the prism is constrained to exactly cancel the deflection due to the diffraction grating at the spectrometer's central wavelength.