dntoflux Module

CUPID_V2.0

CUPID General Info     "cupid" Command     All Pipelines     All Modules     


This module will convert from DN to electrons.

The module is used in the following pipelines:     BCD    CUTOUT    BCDACQ

Constant values:

-a   Path for ancillary files. Specified directory contains error code files and some libraries needed for normal execution.
default: (none)      override allowed: user's path

-bd   Threshold for DMASK fatal masking. --- not used for CUPID.
default: (not used)      override allowed: N >= 0

-bp   Threshold for PMASK fatal masking. --- not used for CUPID.
default: (not used)      override allowed: N >= 0

-c   Factor for scaling whole array, if operation code = 0
default: (not used)      override allowed: X > 0.0

-c1   Factor for scaling read-out channel 1, if operation code = 1;
default: 4.6 (from FITS keyword)      override allowed: X > 0.0

-c2   Factor for scaling read-out channel 2, if operation code = 1;
default: 4.6 (from FITS keyword)      override allowed: X > 0.0

-c3   Factor for scaling read-out channel 3, if operation code = 1;
default: 4.6 (from FITS keyword)      override allowed: X > 0.0

-c4   Factor for scaling read-out channel 4, if operation code = 1;
default: 4.6 (from FITS keyword)      override allowed: X > 0.0

-co   Operation code: 0 = Scale array by a single factor; 1 = Scale each read-out channel by a unique factor.
default: 1      override allowed: 0 <= N <= 1

-d   Flag for printing debug statements: 0 = Do not print; 1 = Print.
default: 0      override allowed: 0 or 1

-ip   Input PMASK file (FITS)
default: (none)      override allowed: user's PMASK file

-l   log file;
default: STDOUT      override allowed: output log file

-o2   Output file (FITS) where fatally masked pixels or samples in the PMASK or DMASK are set to NaN.
default: (none)      override allowed: user's output file

-p   Code for data plane to process: 1 = All; 2 = First; 3 = Last.
default: 1      override allowed: 1 <= N <= 3

-s   Specification of output units. REQUIRED. Output is written in the BUNIT header keyword as a character string.
default: e-      override allowed: a character string

-t   Code for normalization by the value of header keyword EXPTIME: 0 = Do not normalize; 1 = Normalize.
default: 0      override allowed: 0 or 1

-u   Input uncertainty of scaling factor. Required if operation = 0 and -ou option is specified.
default: (not used)      override allowed: X > 0.0

-u1   Input uncertainty of scaling factor for read-out channel 1. Required if operation = 1 and -ou option is specified.
default: (not used)      override allowed: X > 0.0

-u2   Input uncertainty of scaling factor for read-out channel 2. Required if operation = 1 and -ou option is specified.
default: (not used)      override allowed: X > 0.0

-u3   Input uncertainty of scaling factor for read-out channel 3. Required if operation = 1 and -ou option is specified.
default: (not used)      override allowed: X > 0.0

-u4   Input uncertainty of scaling factor for read-out channel 4. Required if operation = 1 and -ou option is specified.
default: (not used)      override allowed: X > 0.0

-v   Flag for verbose output: 0 = No; 1 = Yes.
default: 0      override allowed: 0 or 1

-vv   Flag for superverbose output: 0 = No; 1 = Yes.
default: 0      override allowed: 0 or 1

Pipeline calibration files:

      (none)

Pipeline namelist files:

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

Pipeline input datafiles:

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

-id   Name DMASK file (FITS)
[pipeline datafile --- override not allowed]

-iu   Input UNC file (FITS)
[pipeline datafile --- override not allowed]

Pipeline output datafiles:

-o1   Output FLUX file (FITS)
[pipeline datafile --- override not allowed]

-ou   Output UNC file (FITS)
[pipeline datafile --- override not allowed]

Pipeline datafiles updated:

      (none)