slicersim.mapper#
This module handles the mapping between the slicer and the detector.
The geometry of an image slicer is not analytic: which detector pixel a given
(slice, position along the slice, wavelength) triplet lands on is known from
spot-diagram calibration data. SlicerMapper turns that data into
interpolators and exposes them as the two operations the simulation needs:
projecting a simulated scene cube onto a detector image, and de-projecting a
detector image back onto the sky plane. It also describes the geometry of the
individual slices (contours, extent, footprint on the detector).
Classes
Map between detector pixel coordinates and IFS slicer coordinates. |