OPERA  1.0
Open source echelle spectrograph reduction pipeline
Core Modules

Output gain and noise based on at least 2 flat images. More...

Functions

int main (int argc, char *argv[])
 CDD geometry calculations.

Detailed Description

Output gain and noise based on at least 2 flat images.

operaGain

Author:
Doug Teeple & Eder Martioli
  • argc
  • argv
Doug Teeple & Eder Martioli Output gain and noise based on a list of bias and flat identical images.
  • [--biasimgs=...]*
  • [--flatimgs=...]*
  • --listofbiasimgs=...
  • --listofflatimgs=...
  • --badpixelmask=...
  • --output=...
  • --defaultgain=...
  • --defaultnoise=...
Note:
--subformat="x1, x2, y1, y2"
--gainsubformat="x1 nx y1 ny"
--defaultgain=...
--defaultnoise=...
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

Function Documentation

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

CDD geometry calculations.

wavelength calibration.

telluric correction.

Signal to Noise calculation.

Creates reduction sets from a list of input FITS file names.

Calculate radial velocity.

Calculate polarimetry.

Creates a master Flat FITS image from a list of input Flat FITS file names.

Creates a master Align FITS image from a list of input Align FITS file names.

Creates a master Comparison FITS image from a list of input Comparison FITS file names.

Creates a master bias FITS image from a list of input bias FITS file names.

Calculate intensity spectrum star plus sky mode.

Calculate intensity spectrum star only mode.

operaGeometry

Author:
Doug Teeple
  • argc
  • argv
Note:
--output=...
--masterbias=...
--masterflat=...
--masterfabperot=...
--uncalibratedcomparison=...
--badpixelmask=...
--mastercomparison=...
--subformat=...
--center=...
--ordersep=...
--firstorder=...
--orderincr=...
--maxorders=...
--extractlength=...
--midpoint=...
--slope=...
--spectralsampling=...
--colDispersions=...
--wavelengthIncreasesWithPixelAlongOrders=...
--invertOrders=...
--midpoint=...
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

operaIntensityStarOnly

Author:
Doug Teeple
  • argc
  • argv
Note:
--input=...
--output=...
--masterbias=...
--masterflat=...
--masterfabperot=...
--geom=...
--wcal=...
--fresp=...
--badpixelmask=...
--gain=...
--noise=...
--normalize=...
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

operaIntensityStarPlusSky

Author:
Doug Teeple
  • argc
  • argv
Note:
--input=...
--output=...
--masterbias=...
--masterflat=...
--masterfabperot=...
--geom=...
--wcal=...
--fresp=...
--sky=...
--badpixelmask=...
--gain=...
--noise=...
--normalize=...
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

operaMasterBias

Author:
Doug Teeple
  • argc
  • argv
Note:
operaMasterBias [--images=...]* --output=...[ --pick=<posint>0> ]
Pick one or median stack images.
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

operaMasterComparison

Author:
Doug Teeple
  • argc
  • argv
Note:
[--images=...]* --output=... [ --pick=<posint>0> ]
Pick one or median stack images.
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

operaMasterFabPerot

Author:
Doug Teeple
  • argc
  • argv
Note:
[--images=...]* --output=... [ --pick=<posint>0> ]
Pick one or median stack images.
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

operaMasterFlat

Author:
Doug Teeple
  • argc
  • argv
Note:
[--images=...]* --output=...[ --pick=<posint>0> ]
Pick one or median stack images.
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

operaPolar

Author:
Doug Teeple
  • argc
  • argv
Note:
--input=...
--output=...
--masterbias=...
--masterflat=...
--masterfabperot=...
--geom=...
--wcal=...
--fresp=...
--sky=...
--badpixelmask=...
--gain=...
--noise=...
--normalize=...
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

operaRadialVelocity

Author:
Doug Teeple
  • argc
  • argv
Note:
--input=...
--output=...
--masterbias=...
--masterflat=...
--masterfabperot=...
--geom=...
--wcal=...
--fresp=...
--sky=...
--badpixelmask=...
--gain=...
--noise=...
--normalize=...
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

operaReductionSet

Author:
Eder Martioli
  • argc
  • argv
Note:
--directory=
--qualifiers="$(DETECTOR) $(MODE) $(SPEED)"
--etype=FLAT
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

operaSNR

Author:
Doug Teeple
  • argc
  • argv
Note:
--output=...
--input=...
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

operaTelluricCorrection

Author:
Doug Teeple
  • argc
  • argv
Note:
--output=...
--input=...
--maxSNR=...
--radialvelocity=...
--heliocentricvelocity=...
--weight=...
--upperVelocity=...
--lowerVelocity=...
--velocityStep=...
--FourierFilterWidth=...
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

operaWavelengthCalibration

Author:
Doug Teeple
  • argc
  • argv
Note:
--output=...
--tharc=...
--thws=...
--thref=...
--thcal=...
--masterfabperot=...
--geom=...
--limit=...
--maxSNR=...
--radialvelocity=...
--heliocentricvelocity=...
--weight=...
--upperVelocity=...
--lowerVelocity=...
--velocityStep=...
--FourierFilterWidth=...
--calibratedcomparison=...
Exceptions:
operaExceptioncfitsio error code
operaExceptionoperaErrorNoInput
operaExceptionoperaErrorNoOuput
Returns:
EXIT_STATUS

Here is the call graph for this function: