ExposureMap

class sofia_redux.scan.source_models.maps.exposure_map.ExposureMap(observation=None)[source]

Bases: Overlay

Create an exposure map overlay of an observation.

The exposure map overlay returns and operates on the exposure image of the Observation2D basis.

Parameters:
observationObservation2D, optional

The observation map from which to generate an exposure map.

Attributes Summary

data

Return the data values of the exposure map.

Methods Summary

discard([indices])

Set the flags for discarded indices to DISCARD and data to zero.

Attributes Documentation

data

Return the data values of the exposure map.

Returns:
exposure_valuesnumpy.ndarray

Methods Documentation

discard(indices=None)[source]

Set the flags for discarded indices to DISCARD and data to zero.

Parameters:
indicestuple (numpy.ndarray (int)) or numpy.ndarray (bool), optional

The indices to discard. Either supplied as a boolean mask of shape (self.data.shape).

Returns:
None