| normflat | noao.imred.generic | normflat |
normflat -- Create a flat field by normalizing a calibration image
normflat image flatfield
A flat field is created from a calibration image by normalizing the calibration image. The normalization is specified with the parameter norm . If the value of norm is INDEF then the normalization is determined by sampling the pixels in the sample section with values greater than minflat . This task differs from the task normalize in that data values less than or equal to minflat are replaced with unity in the normalized flat field.
To create a flat field from a calibration image "quartz" using pixels above 1000 and selecting the normalization to be 3500:
cl> normflat quartz flat norm=3500 minflat=1000
To determine a normalization from the pixels above 1000 and sampling every fifth pixel in each dimension:
cl> normflat quartz flat minflat=1000 sample=[*:5,*:5]