irispy.iris_tools.calculate_dust_mask(data_array)[source] [edit on github]

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:dust – 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