exosim.tasks.detector.applyDeadPixelMapNumpy#

Classes#

ApplyDeadPixelMapNumpy

It masks the dead pixel in the array given a numpy map.

Module Contents#

class ApplyDeadPixelMapNumpy[source]#

Bases: exosim.tasks.detector.ApplyDeadPixelsMap

It 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_filename keyword.

model(subexposures, parameters, output)[source]#
static add_dead_pixels(ndrs, dead_pixels_map)[source]#
Parameters:
Return type:

numpy.ndarray