StepMIParent

class sofia_redux.instruments.hawc.stepmiparent.StepMIParent[source]

Bases: StepParent

Pipeline step parent class for multiple input files.

This class defines a pipeline step that expects a list of input data objects, and produces a single output data object (multiple-in, single-out (MISO) mode).

Methods Summary

run()

Run the data reduction algorithm.

runstart(data, arglist)

Initialize the pipeline step.

setup()

Set parameters and metadata for the pipeline step.

updateheader(data)

Update the header for a data object.

Methods Documentation

run()[source]

Run the data reduction algorithm.

runstart(data, arglist)[source]

Initialize the pipeline step.

Checks the input data list, storing file numbers extracted from the input file names, then calls the parent runstart method.

Parameters:
dataDataFits or DataText

Input data to validate.

arglistdict

Parameters to pass to the step.

setup()[source]

Set parameters and metadata for the pipeline step.

See sofia_redux.instruments.hawc.stepparent.StepParent.setup for more information.

updateheader(data)[source]

Update the header for a data object.

This function calls the parent updateheader method, then additionally updates the output file name with the input file numbers, stored in self.filenum.

Parameters:
dataDataFits or DataText

Output data to update.