background_deviation_filter

ccdproc.background_deviation_filter(data, bbox)[source]

Determine the background deviation for each pixel from a box with size of bbox.

Parameters
datanumpy.ndarray

Data to measure background deviation.

bboxint

Box size for calculating background deviation.

Returns
backgroundnumpy.ndarray or numpy.ma.MaskedArray

An array with the measured background deviation in each pixel.

Raises
ValueError

A value error is raised if bbox is less than 1.