Determine the background deviation for each pixel from a box with size of bbox.
data : ndarray
Data to measure background deviation
bbox : int
Box size for calculating background deviation
background : ndarray or MaskedArray
An array with the measured background deviation in each pixel
ValueError
A value error is raised if bbox is less than 1