radhit Module

CUPID_V2.0

CUPID General Info     "cupid" Command     All Pipelines     All Modules     


This module will flag radhits.

The module is used in the following pipelines:     BCD

Constant values:

-S   Radhit magnitude threshhold for declaring post-radhit samples as bad. Should be capitalized in command line.
default: (none)      override allowed: X > 0.0

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

-f   Bitmask reset integer. Perform logical AND of DMASK samples and this value, to reset selected bits.
default: 65019 in second instance of RADHIT (bits 4,9 reset to detect radhits anew)      override allowed: N >= 0 bitmask value

-g   Gain (e-/DN).
default: 1.0 (already in e-)      override allowed: X > 0.0

-h   Maximum number of radhits detectable in a ramp.
default: 16      override allowed: N >= 0

-i4   Input Readnoise (specified for each pixel) file (FITS) See parameter -r below as alternative.
default: (none)      override allowed: users file

-k   Maximum segment length to store pseudoinverse.
default: (none)      override allowed: N >= 0

-m   NominalRHMag or threshold for ratio of signal jump to sample uncertainty to declare a radhit.
default: 80.0      override allowed: X >= 0.0

-p   RHPriorProb or threshold for probability that a signal jump is a radhit.
default: 0.01      override allowed: X >= 0.0

-r   Input readnoise, in electrons. One value specified for whole array.
default: ch0,ch1=26.0 ch2,ch3=46.0      override allowed: X >= 0.0

-t   Probability threshhold at which to declare that a radhit occurred.
default: 0.99      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

-w   Maximum segment length after decimation.
default: (none)      override allowed: N >=1

-x   Number of samples to skip at start of ramp for radhit detection.
default: ch2=1 others=0      override allowed: N >= 0

-xp   Minimum number of ramp samples required for skipping.
default: 5 (no samples are skipped for 4-sample ramps)      override allowed: N >= 0

Pipeline calibration files:

-i3   Input PMASK file (FITS)
default: appropriate pmask.fits file in ../cal/      override allowed: name of user's calibration file

Pipeline namelist files:

-n   Number of post-radhit samples to declare bad.
default: appropriate radhit.nl file in ../cdf/      override allowed: name of user's namelist file

Pipeline input datafiles:

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

-i2   Input DMASK file (FITS)
[pipeline datafile --- override not allowed]

Pipeline output datafiles:

-l   log file, listing input parameters.
[pipeline datafile --- override not allowed]

-o1   Output radhit probability per sample file (FITS) 3-D cube.
[pipeline datafile --- override not allowed]

-o2   Output sample number per pixel with declared radhits file (FITS) 2-D plane.
[pipeline datafile --- override not allowed]

-o3   Output radhit magnitude per pixel file (FITS) 2-D plane.
[pipeline datafile --- override not allowed]

-o4   Output slope per pixel file (FITS) Peculiarly written in two adjacent planes (where ramp was segmented) of a 3-D cube.
[pipeline datafile --- override not allowed]

-o5   Output DMASK file (FITS) (same file as input DMASK)
[pipeline datafile --- override not allowed]

Pipeline datafiles updated:

      (none)