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 DATADIRdirectory of data
-gzoption for gzipped fits files

Examples:

  1. Directory with fits files.
    magedb -d /data1/example/directory
  2. 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:

-allgenerates pipelines for all targets
-db DATABASEdatabase file
-flatkey FLATSTRINGstring to search for flat frames in database file
-flat FLATlocation to a specific flat frame
-fringe FRINGElocation to a specific fringe frame
-fringekey FRINGESTRINGstring to search for fringe frames in database file
-individualseparate extractions
-lampkey LAMPSTRINGstring to search for lamp frames in database file
-lamp LAMPlocation to a specific lamp frame
-logboption bins extracted spectra logarithmically in wavelength
-mk MAKEFILEcreates a makefile for multiple targets
-noslitfnoption skips the generation and usage of a slit function
-orderkey ORDERSTRINGstring to search for order frames in database file
-slitfnkey SLITFNSTRINGstring to search for slit function frames
-slit SLITlocation to a specific slit frame

Examples:

  1. MagE setup generating pipeline for ngc3201-e1.
    magesetup -db directory.db ngc3201-e1
  2. MagE setup generating pipelines for all targets in the database directory.
    magesetup -db directory.db -all
  3. MagE setup generating pipelines for all targets in the database directory and creating a Makefile.
    magesetup -db directory.db -all -mk Makefile
  4. 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

Resources