OPERA  1.0
Open source echelle spectrograph reduction pipeline
Tools

Functions

int main (int argc, char *argv[])
 command line interface to create Libre-Esprit-compatible text files from packed FITS.
void Usage ()
 Generate a default module template.

Variables

map< string, string > table
 command line interface to the configuration file.
map< string, string > table
 command line interface to the parameter file.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

command line interface to create Libre-Esprit-compatible text files from packed FITS.

Various image manipulation functions.

Create a PNG thumbnail of a FITS Image.

Author:
Eder Maritoli

operaFits2txt

  • argc
  • argv inputfile
    Returns:
    EXIT_STATUS
    Author:
    Doug Teeple
    operaFITStoPNG - FITS to PNG Based on f2n: version 0.9.1, December 2008 by malte.tewes@epfl.ch
     * Usage :   operaFITStoPNG --negate ztrans= in.fits --output=out.png [lower= [upper=]]
     * --negate: negative (inverse video) output
     * --ztrans =
     *    l: lin ztrans  (lc : same but with coloured cutoffs)
     *    e: log centered on 0.0
     *    f: log ztrans as in IRAF's display (fc : coloured cutoffs)
     *    p: lin from z1 to -z1, then log up to z2 (my fav for dec.fits)
     *    c: log with color countours around 1.0 (my fav for sm residuals)
     *    r: pseudocolour log hsv
     *    s: somewhere over the rainbow (exprimental)
     *    h: histogram equalization
     * --lower= --upper=
     *    the lower and upper cutoffs to use. Give either none or both.
     *    (not given) : min and max cutoffs (same as m m, see below)
     *    -1.2e-5 : hard cutoff (for example)
     *    m : extremal (min or max) cutoff
     *    a : auto cutoff
     *    You can also mix them.
     *    Examples : \"--lower=-10.0 --upper=a\"
     *    Examples : \"--lower=a --upper=m\"
     *    Examples : \"--lower=a --upper=a\"
     *    Examples : \"--lower=0 --upper=1\"
     * 
    Note:
    You can use file.fits[a:b,c:d] to select a region of the input file.
    (In case of trouble use quotes : "file.fits[a:b,c:d]")
    Returns:
    EXIT_STATUS
    Author:
    Eder Martioli
    operaImage
  • argc
  • argv
    Returns:
    EXIT_STATUS

Here is the call graph for this function:

void Usage ( )

Generate a default module template.

Author:
Eder Martioli

operaGenModuleTemplate

  • argc
  • argv
    Returns:
    EXIT_STATUS

Variable Documentation

map<string, string> table

command line interface to the parameter file.

operaParameterAccess

  • argc
  • argv
    Note:
    [get|set|add] keyword[=value]
    Returns:
    EXIT_STATUS
map<string, string> table

command line interface to the configuration file.

operaConfigurationAccess

  • argc
  • argv
    Note:
    [get|set|add] keyword[=value]
    Returns:
    EXIT_STATUS