User Documentation
strun
Data Products
Error Propagation
Package Structure
Replace any bad pixels with the median value of the surrounding pixels.
CubeModel
The input model.
Box size for the median filter.
The sum of all of the DQ bit values to consider bad. Setting to 0 will treat all pixels as good.
The updated image model with the bad pixels replaced.