SOFIAConfiguration

class sofia_redux.pipeline.sofia.sofia_configuration.SOFIAConfiguration(config_file=None)[source]

Bases: Configuration

Set Redux configuration for SOFIA pipelines.

This class sets the reduction object chooser to SOFIAChooser and sets some default configuration values for output files.

If desired, all configuration values may be overridden with an input configuration file in INI format. The following example would be equivalent to the current default settings:

output_directory = .
input_manifest = redux_infiles.txt
output_manifest = outfiles.txt
parameter_file = redux_param.cfg
log_file = "redux_%Y%m%d_%H%M%S.log"
log_level = DEBUG
log_format = "%(asctime)s - %(origin)s - %(levelname)s - %(message)s"
update_display = True
display_intermediate = False

Initialize with an optional configuration file.

Parameters:
config_filestr or ConfigObj, optional

File path to an INI-format configuration file.