compute_weight_threshold
- stcal.outlier_detection.utils.compute_weight_threshold(weight, maskpt)[source]
Compute the weight threshold for a single image or cube.
- Parameters:
weight (numpy.ndarray) – The weight array
maskpt (float) – The percentage of the mean weight to use as a threshold for masking.
- Returns:
The weight threshold for this integration.
- Return type: