.. _NIRBadPixelMask: [to complete] NIR Bad Pixel Mask ================== Metadata ______________________ +------------------------------------------------+----------------------------------------------------------------------------------------------+ | Data product name | DpdNirBadPixelMask | +------------------------------------------------+----------------------------------------------------------------------------------------------+ | Data product custodian | NIR | +------------------------------------------------+----------------------------------------------------------------------------------------------+ | Name of the Schema file | .. raw:: html | | | | | | `euc-nir-BadPixelMask.xsd `_ | +------------------------------------------------+----------------------------------------------------------------------------------------------+ | Processing Element(s) creating/using the data | The **Bad Pixel Mask** is created by **makeNirBadPixels** task in *NIR_BadPixelMasking* | | product | project. | | | | | | It creates a mask for the bad pixels in the near-infrared detectors. It makes a list of bad | | | pixels based on the | | | detector data obtained from GFSC, which consists of test data with dis-connected pixels, | | | zero-fluence pixels, and noisy | | | pixels. | | | | | | It combines a set of :ref:`NIRBadPixelFlavorMask` to create the final NIR Bad Pixel Mask. | +------------------------------------------------+----------------------------------------------------------------------------------------------+ | Processing function using the data product | This is an internal NIR data product, and it is used only by the NIR PF. | | | | | | It is applied by **maskBadpixels** task (under *NIR_BadPixelMasking* project) in the | | | *NIR_ProcessField_Pipeline* | | | and in most of the calibration pipelines. | +------------------------------------------------+----------------------------------------------------------------------------------------------+ Data Product structure description ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. DataProductDescrStart The main elements inside the *Data* section are: * **ValidityRange**: Calibration file validity period estimated * **DataStorage**: Element that links to a FITS file containing the Bad Pixel Mask FITS file * **QualityParams** (optional): List of Detector Data Quality Parameters * **DetectorId**: Detector id * **TotalBadPixels**: Total number of bad pixels (NBADPIXT) * **DisconnettedBP**: Number of disconnected pixels (NBADPIX1) * **ZeroQEBP**: Number of Zero Quantum Efficiency pixels (NBADPIX2) * **RTNoiseBP**: Number of pixels detected with RTN (NBADPIX3) * **SnowballingBP**: Number of snowballing pixels (NBADPIX4) * **HotBP**: Number of Hot pixels (NBADPIX5) * **HLBaselineBP**: Number of High-Low baseline pixels (NBADPIX6) * **LowQEBP**: Number of Low Full Well pixels (NBADPIX7) * **SuperQEBP**: Number of Super Quantum Efficiency pixels (NBADPIX8) The Quality Parameter section tracks the number of single flavor pixels, propagating information stored in :ref:`NIRBadPixelFlavorMask` used for Bad Pixel Mask creation. .. DataProductDescrEnd FITS file description ~~~~~~~~~~~~~~~~~~~~~ .. FITSFileDescriptionStart The Bad Pixel Mask FITS file is composed by a Table to store bad pixels coordinates in pixel and the corresponding flag value to be used. Primary header **************** The primary header contains keywords to identify FITS data type and validity range.