matching_diff#

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

usage: matching_diff [--config CONFIG] [--root ROOT]
                     [--pickle-protocol PICKLE_PROTOCOL]
                     [--logging-level LOGGING_LEVEL] [-I PROCESS_TABLE]
                     [-i PROCESS_PATTERN] [--savgol-window SAVGOL_WINDOW]
                     [--anchor-file ANCHOR_FILE] [--zero-point {true,false}]
                     process_indices

Named Arguments#

--config

Use the specified configuration files.

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

--pickle-protocol

Pickle protocol version to use

--logging-level

Logging level to use

-I, --process-table

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

-i, --process-pattern

Relative path (pattern) for the files to process

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

process_indices

Indices of spectrum to process

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

--savgol-window

Length of the window for SAVGOL filtering

--zero-point

Possible choices: true, false

Recenter to the mean value

required arguments#

--root

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

--anchor-file

Processed master spectrum / Anchor file