StepScanMapFocus¶
- class sofia_redux.instruments.hawc.steps.stepscanmapfocus.StepScanMapFocus[source]¶
Bases:
StepMOParent
Reconstruct an image from short focus scans.
This step calls the scan map data reduction package as an external process to reduce focus scans data.
Data are grouped by the focus value before being passed to scan map. Each set of focus values produces a single scan map output file with image extensions SIGNAL, EXPOSURE, NOISE and S/N.
Scan map parameters are not generally modified for this step. They are used as defined in the configuration files for mode_focus data.
Methods Summary
run
()Run the data reduction algorithm.
setup
()Set parameters and metadata for the pipeline step.
Methods Documentation
- run()[source]¶
Run the data reduction algorithm.
This step is run as a multi-in multi-out (MIMO) step: self.datain should be a list of DataFits, and output will be a single DataFits, stored in self.dataout.
The process is:
Group input data by the header keyword FOCUS_ST.
Call StepScanMap for each input group.
- setup()[source]¶
Set parameters and metadata for the pipeline step.
Output files have PRODTYPE = ‘scanmapfocus’, and are named with the step abbreviation ‘SMP’.
Parameters defined for this step are:
- groupkeysstr
List of header keywords to decide data group membership (| separated).
- groupkfmtstr
List of group key formats for string comparison (unused if “”, | separated).