calculate_dust_mask

irispy.utils.calculate_dust_mask(data_array)[source]

Calculate a mask with the dust positions in a given arrayself.

Parameters

data_array (numpy.ndarray) – This array contains some dust poisition that will be calculated. The array must have scaled values.

Returns

This array has the same shape than data_array and contains the dust positions when the value is True.

Return type

numpy.ndarray of bool