
BCDACQ Pipeline
CUPID_V2.0
CUPID General Info     "cupid" Command     All Pipelines     All Modules     
This pipeline will make BCD cutouts from peakup acquisition (2D) raw images
The DCENUM=3 files are not processed since thay are not normal peakup acquisition frames.
Input datafiles come from the raw/ subdirectory.
All (2D)*_raw.fits datafiles will be procesed.
Output datafiles will be written to the bcd/ subdirectory.
Parameter overrides may be selected with:   BCDACQ/SET.module-flag=value
Pipeline flow control options may be selected with any of the following:
     BCDACQ/START.step     BCDACQ/STOP.step     BCDACQ/SKIP.step     BCDACQ/DO.step1.AFTER.step2
The logic for this pipeline is in wrappers/wrapper_BCDACQ.pl
This pipeline runs the following STEPs:
- CVTI2R4 --- convert pixels from integer to floating point
          module calls:  remove_file  cvti2r4
- ADDKWDS --- update FITS header keywords
          module calls:  hdrupd8  hdrupd8
- DNTOFLUX --- convert from DN to electrons/sec
          module calls:  dntoflux
- IMSUBTRACT --- Subtract the dark
          module calls:  imsubtract
- DARKDRIFT --- remove "jail bars"
          module calls:  darkdrift
- FLATAP --- apply FLAT
          module calls:  flatap
- FPGEN --- run 'final product generator' and add velocity keywords
          module calls:  velocity  remove_file  fpgen
- BLUE --- do BLUE cutput
          module calls:  cropfits2  cropfits  dntoflux
- RED --- do RED cutput
          module calls:  cropfits2  cropfits  dntoflux