profile Module

CUPID_V2.0

CUPID General Info     "cupid" Command     All Pipelines     All Modules     


This module will generate a wavelength-collapsed average spatial profile table.

The module is used in the following pipelines:     BCDX    COADDX    BKSUBX

Constant values:

-c   Number of "cuts". The profile module divides each pseudorectangle into this number of cuts and integrates the signal within each cut.
default: ch0,ch2=1000 ch1,ch3=200      override allowed: 2 <= N <= 2000

-fb   BMASK fatal bitmask
default: 18432      override allowed: N >= 0 bitmask value

-m   Size of sliding median
default: 7      override allowed: 1 >= N >= 21 (must be ODD integer)

-ord   This selects which orders are included
default: all targeted orders      override allowed: up to 14 comma-separated integers, no spaces

-t   The calibration table that codes the order to be extracted for each FOVID, the default ridge location, and the extraction aperture width at a fiducial wavelength.
default: ch0,ch2=../cal/psf_fov.tbl ch1,ch3=(none)      override allowed: users psf_fov.tbl file

-v   Level of verbosity
default: 1      override allowed: N >= 0

Pipeline calibration files:

-w   The the wavsamp file. This file specifies the location of the spectral orders on the array in x-y coordinates. It consists of psuedorectangles, which describe the fractional pixels that comprise each wavelength in the spectrum.
default: appropriate wavsamp.tbl file in ../cal/      override allowed: name of user's calibration file

Pipeline namelist files:

-n   Namelist file
default: appropriate profile.nl file in ../cdf/      override allowed: name of user's namelist file

Pipeline input datafiles:

-b   Input BMASK file (FITS)
[pipeline datafile --- override not allowed]

-i   Input FLUX file (FITS)
[pipeline datafile --- override not allowed]

Pipeline output datafiles:

-o   Output spectrum file (IPAC table file)
[pipeline datafile --- override not allowed]

-q   The the Output qa file which tells you six things about the profile:
profMaxFlux - max value of dn for all cuts
profLocMaxFlux - location (%) of max dn cut
profMaxStdev - max value of stdev for all cuts
profLocMaxStdev - location (%) of max stdev cut
profMaxRStdev - max value of stdev/dn for all cuts
profLocMaxRStdev - location of max stdev/dn cut
[pipeline datafile --- override not allowed]

Pipeline datafiles updated:

      (none)