STScI Logo

normclip stsdas.hst_calib.wfpc.w_calib


NAME · USAGE · DESCRIPTION · PARAMETERS · EXAMPLES · REFERENCE
BUGS · SEE_ALSO

NAME

normclip -- Normalize WF/PC flat fields among chips.

USAGE

normclip infile inmask outfile outmask flatmin flatmax

DESCRIPTION

This task takes the output of the task streakflat and normalizes among all CCD detectors such that the overall average of all four chips is one. This task also clips out extremely low or high flat field values and does the final inversion so the output file can be used in the Calibration Data Base.

PARAMETERS

infile = "" [string]
Name of the input flat field file template.
inmask = "" [string]
Name of the input flat field data quality file template. Each input file should have one corresponding data quality file.
outfile = "" [string]
Name of the output file template. Each input file should have one corresponding output file.
outmask = "" [string]
Name of the output data quality file template. Each output file should have one corresponding output data quality file.
flatmin = 0. [real]
Minimum value allowed in the normalized flat field. If the flat field value is lower than the value of this parameter, a fill value (1.0) will be put in its place and the corresponding pixel in the output data quality file will be flagged.
flatmax = 10. [real]
Maximum value allowed in the normalized flat field. If the flat field value is higher than the value of this parameter, a fill value (1.0) will be put in its place and the corresponding pixel in the output data quality file will be flagged.
(verbose) = no [boolean]
Print out detailed messages as the task progresses?

EXAMPLES

1. Normalize the flat field file in.r6h. Use flat field values between 0.1 and 10.0.

w_> normclip in.r6h in.b6h normalize.r6h normalize.b6h \
>>>  flatmin=0.1 flatmax=10.

REFERENCE

BUGS

SEE ALSO

streakflat


Source Code · Search Form · STSDAS