sigma_func¶
-
ccdproc.
sigma_func
(arr, axis=None)[source]¶ Robust method for calculating the deviation of an array.
sigma_func
uses the median absolute deviation to determine the standard deviation.Parameters: - arr :
CCDData
ornumpy.ndarray
Array whose deviation is to be calculated.
- axis : int, tuple of ints or None, optional
Axis or axes along which the function is performed. If
None
it is performed over all the dimensions of the input array. The axis argument can also be negative, in this case it counts from the last to the first axis. Default isNone
.
Returns: - uncertainty : float
uncertainty of array estimated from median absolute deviation.
- arr :