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
- 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
- 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
- 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
- __init__(config, root, pickle_protocol, logging_level, process_table, process_pattern, process_indices, savgol_window, anchor_file, zero_point)#