Pipe

class sofia_redux.pipeline.pipe.Pipe(configuration=None)[source]

Bases: Interface

Command-line interface to data reduction steps.

Initialize the pipeline with an optional configuration file.

Parameters:
configurationConfiguration, optional

Configuration items to be used for all reductions.

Methods Summary

run(data)

Run the pipeline on an input data set.

Methods Documentation

run(data)[source]

Run the pipeline on an input data set.

Calls the Interface start and reduce methods. If specified in the configuration, an as-run input manifest, an output manifest, and an as-run parameter file will be saved to disk after the reduction is complete.

Parameters:
datalist of str or str

Input data file paths, or a text file containing data file paths.