Task#

class Task[source]#

Bases: Config

Import FITS files into pickle files that can be processed by RASSINE

prog_: ClassVar[Optional[str]] = 'preprocess_import'#

Program name

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

env_prefix_: ClassVar[str] = 'RASSINE'#

Prefix for automatically derived environment variable names

config: Sequence[pathlib.Path][Sequence[Path]]#

Use the specified configuration files.

Files can be separated by commas/the command can be invoked multiple times.

root: Path[Path]#

Root path of the data, used as a base for other relative paths

pickle_protocol: PickleProtocol[PickleProtocol]#

Pickle protocol version to use

logging_level: LoggingLevel[LoggingLevel]#

Logging level to use

input_table: Path[Path]#

Input spectrum table

output_table: Path[Path]#

Output spectrum table

input_folder: Path[Path]#

Relative path to the folder containing the raw spectra

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

plx_mas: float[float]#

Parallax in mas (no more necessary ?)

drs_style: Literal['old', 'new'][~typing.Literal['old', 'new']]#

Type of DRS format

__init__(config, root, pickle_protocol, logging_level, input_table, output_table, input_folder, output_pattern, inputs, instrument, plx_mas, drs_style)#