matching_anchors_scan#

Intersection tool

Searches for the intersection of all the anchors points in a list of filenames and updates the selection of anchor points in the same files.

For each anchor point the fraction of the closest distance to a neighbourhood is used. Anchor point under the threshold are removed (1 = most deleted, 0 = most kept). Possible to use multiprocessing with nthreads cpu. If you want to fix the anchors points, enter a master spectrum path and the number of copies you want of it.

It reads the files matching RASSINE*.p in the given input directory.

usage: matching_anchors_scan [--config CONFIG] [--root ROOT]
                             [--pickle-protocol PICKLE_PROTOCOL]
                             [--logging-level LOGGING_LEVEL] [-I INPUT_TABLE]
                             [-i INPUT_PATTERN] [-o OUTPUT_FILE]
                             [--master-spectrum MASTER_SPECTRUM]
                             [--no-master-spectrum NO_MASTER_SPECTRUM]
                             [--copies-master COPIES_MASTER]
                             [--nthreads NTHREADS] [--fraction FRACTION]
                             [--threshold THRESHOLD] [--tolerance TOLERANCE]

commands#

--no-master-spectrum

Do not use a RASSINE master spectrum file

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, --input-pattern

Path pattern for input files

--master-spectrum

Name of the RASSINE master spectrum file

--copies-master

Number of copy of the master.

If value 0 is specified, copies_master is set to 2*N with N the number of RASSINE files.

--nthreads

Unused: number of threads for multiprocessing

--fraction

Parameter of the model between 0 and 1

--threshold

Parameter of the model between 0 and 1

--tolerance

Parameter of the model between 0 and 1

required arguments#

--root

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

-I, --input-table

Table of spectra from which to read the individual file names (produced by stacking step)

-o, --output-file

Master tool output file