flatfield

pipe.flatfield(filename, Teff, offset, size)[source]

Reads the flatfield cube and interpolates the flatfield temperatures to the given temperature. The part of the detector that is returned is defined by the offset and size (in 2D pixel coordinates).