Nick Konidaris edited preprocessing.tex  about 9 years ago

Commit id: bef1a217e651d1f7a3a8a8a162aac5ca4837975c

deletions | additions      

       

\subsection{Preprocess -- Debias and Gain}  The debias and gain stage removes a bias frame (if available), subtracts off the overscan region, and multiplies each frame by the gain.  \subsubsection{Input}  Given an observation file \verb|ifuyyyymmdd_hhmmss.fits| and a \verb|bias.fits| file, this code will subtract off the bias frame, and then remove the overscan. The code also sets the units of the frame to $e^-$ ($ADU \times GAIN$).  \subsection{Output}  \verb|b_ifuyyyymmdd_hhmmss.fits| which has been debiased and degained.  \subsection{Preprocess -- Cosmic Ray Rejection}