preprocess_table#
Creates the individual spectrum table from the DACE table
We assume that all raw files are in the same directory. We take the filenames from the DACE table but ignore the path information in the same DACE table.
We also read the “model” column from the DACE table and compute rv_mean (actually the median) and rv_shift.
usage: preprocess_table [--config CONFIG] [--root ROOT]
[--pickle-protocol PICKLE_PROTOCOL]
[--logging-level LOGGING_LEVEL] [-I DACE_TABLE]
[-i INPUT_FOLDER] [-O OUTPUT_TABLE]
[--glob-pattern GLOB_PATTERN]
[--verify-sorted {true,false}] [--strict {true,false}]
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
- --glob-pattern
Pattern for input files, by default look for FITS files
- --verify-sorted
Possible choices: true, false
Whether to verify that the filenames are sorted in the input DACE table
This is an assumption that is made at several points in RASSINE/YARARA, and it is best to know whether this assumption is violated.
- --strict
Possible choices: true, false
If true, we error if a file is present on the disk but not in the master table
required arguments#
- --root
Root path of the data, used as a base for other relative paths
- -I, --dace-table
Input DACE table
- -i, --input-folder
Relative path to the folder containing the raw spectra
- -O, --output-table
Output individual table