Task#
- class Task[source]#
Bases:
Config
Import FITS files into pickle files that can be processed by RASSINE
- ini_strict_sections_: ClassVar[Sequence[str]] = ['preprocess_import']#
Names of additional sections to parse in configuration files, unknown keys error
- ini_relaxed_sections_: ClassVar[Sequence[str]] = ['preprocess']#
Names of sections to parse in configuration files, with unknown keys ignored
- config: Sequence[pathlib.Path][Sequence[Path]]#
Use the specified configuration files.
Files can be separated by commas/the command can be invoked multiple times.
- pickle_protocol: PickleProtocol[PickleProtocol]#
Pickle protocol version to use
- logging_level: LoggingLevel[LoggingLevel]#
Logging level to use
- output_pattern: PathPattern[PathPattern]#
Path pattern for output files
- inputs: Sequence[int][Sequence[int]]#
Indices of spectrum to process
If not provided, all spectra are processed
- instrument: Literal['HARPS', 'CORALIE', 'HARPN', 'ESPRESSO', 'EXPRESS'][~typing.Literal['HARPS', 'CORALIE', 'HARPN', 'ESPRESSO', 'EXPRESS']]#
Instrument format of the s1d spectra
- __init__(config, root, pickle_protocol, logging_level, input_table, output_table, input_folder, output_pattern, inputs, instrument, plx_mas, drs_style)#