Task#

class Task[source]#

Bases: Config

Reinterpolates the spectra to match the stellar frame

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

Program name

ini_strict_sections_: ClassVar[Sequence[str]] = ['reinterpolate']#

Names of additional sections to parse in configuration files, unknown keys error

ini_relaxed_sections_: ClassVar[Sequence[str]] = ['reinterpolate']#

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 spectra

output_folder: Path[Path]#

Name of the output directory. If None, the output directory is created at the same location than the spectra.

inputs: Sequence[int][Sequence[int]]#

Indices of spectrum to process

If not provided, all spectra are processed

dlambda: float[float]#

Wavelength step in angstrom used to produce the equidistant wavelength vector

validate_output_folder()[source]#
Return type:

Optional[Err]

__init__(config, root, pickle_protocol, logging_level, input_table, output_table, input_folder, output_folder, inputs, dlambda)#