create_cube_median

jwst.outlier_detection.utils.create_cube_median(cube_model, maskpt)[source]

Compute the median over a cube of data.

Parameters:
cube_modelCubeModel

The input cube model.

maskptfloat

The percent threshold for masking bad data.

Returns:
ndarray

The median over the zeroth axis of the input cube.