median_filter

ccdproc.median_filter(data, *args, **kwargs)[source]

See scipy.ndimage.median_filter for arguments.

If the data is a CCDData object the result will be another CCDData object with the median filtered data as data and copied unit and meta.