Task#

class Task[source]#

Bases: Config

SAVGOL step

Match the continuum of individual spectra to a reference spectrum with a savgol filtering on the spectra difference.

Creates the matching_diff dictionary

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

Program name

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

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

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

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

process_table: Path[Path]#

Table of stacked spectra from which to read the individual spectrum names

The parameters process_table, process_pattern and process_indices must be all provided together

process_pattern: PathPattern[PathPattern]#

Relative path (pattern) for the files to process

The parameters process_table, process_pattern and process_indices must be all provided together

process_indices: Sequence[int][Sequence[int]]#

Indices of spectrum to process

The parameters process_table, process_pattern and process_indices must be all provided together

savgol_window: int[int]#

Length of the window for SAVGOL filtering

anchor_file: Path[Path]#

Processed master spectrum / Anchor file

zero_point: bool[bool]#

Recenter to the mean value

__init__(config, root, pickle_protocol, logging_level, process_table, process_pattern, process_indices, savgol_window, anchor_file, zero_point)#