exosim.tasks.detector.applyDeadPixelMapNumpy#
Classes#
It masks the dead pixel in the array given a numpy map. |
Module Contents#
- class ApplyDeadPixelMapNumpy[source]#
Bases:
exosim.tasks.detector.ApplyDeadPixelsMapIt masks the dead pixel in the array given a numpy map. The input must be a NPY format file (see numpy documentation) containing a boolean map marking with True the dead pixels. The map should be indicated under
dp_map_filenamekeyword.- static add_dead_pixels(ndrs, dead_pixels_map)[source]#
- Parameters:
ndrs (numpy.ndarray) –
dead_pixels_map (numpy.ndarray) –
- Return type: