MagE Pipeline Command-Line Arguments
Documentation of command-line arguments.
Note: objects in CAPS are fields the user must supply.
magedb
Usage:
magedb -d DATADIR [options...]
Command Line Arguments:
| -d DATADIR | directory of data |
| -gz | option for gzipped fits files |
Examples:
- Directory with fits files.
magedb -d /data1/example/directory
- Directory with gzipped fits files.
magedb -d /data1/example/directory -gz
magesetup
Usage:
magesetup -db DATABASE TARGET(S) [options...]or
magesetup -db DATABASE -all [options...]
Command Line Arguments:
| -all | generates pipelines for all targets |
| -db DATABASE | database file |
| -flatkey FLATSTRING | string to search for flat frames in database file |
| -flat FLAT | location to a specific flat frame |
| -fringe FRINGE | location to a specific fringe frame |
| -fringekey FRINGESTRING | string to search for fringe frames in database file |
| -individual | separate extractions |
| -lampkey LAMPSTRING | string to search for lamp frames in database file |
| -lamp LAMP | location to a specific lamp frame |
| -logb | option bins extracted spectra logarithmically in wavelength |
| -mk MAKEFILE | creates a makefile for multiple targets |
| -noslitfn | option skips the generation and usage of a slit function |
| -orderkey ORDERSTRING | string to search for order frames in database file |
| -slitfnkey SLITFNSTRING | string to search for slit function frames |
| -slit SLIT | location to a specific slit frame |
Examples:
- MagE setup generating pipeline for ngc3201-e1.
magesetup -db directory.db ngc3201-e1
- MagE setup generating pipelines for all targets in the database directory.
magesetup -db directory.db -all
- MagE setup generating pipelines for all targets in the database directory and creating a Makefile.
magesetup -db directory.db -all -mk Makefile
- MagE setup generating pipelines for specific flatkey, orderkey, fringekey and lampkey.
magesetup -db directory.db -flatkey quartzflatw_milky -orderkey quartzflatw_omilky
-fringekey dome -lampkey thar -all
