Task#

class Task[source]#

Bases: Config

Creates a master spectrum from stacked spectra

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

Program name

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

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

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

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 stacked basic table

output_table: Path[Path]#

Output master spectrum info table (one row)

input_folder: Path[Path]#

Folder containing the stacked spectra

output_file: Path[Path]#

Path to the master spectrum file to write

groups: Sequence[int][Sequence[int]]#

Group indices to process

If not provided, all groups are processed

__init__(config, root, pickle_protocol, logging_level, input_table, output_table, input_folder, output_file, groups)#