sigma_func¶
-
ccdproc.sigma_func(arr, axis=None)[source]¶ Robust method for calculating the deviation of an array.
sigma_funcuses the median absolute deviation to determine the standard deviation.Parameters: arr :
CCDDataornumpy.ndarrayArray whose deviation is to be calculated.
axis : int, tuple of ints or None, optional
Axis or axes along which the function is performed. If
Noneit 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.