sigma_func¶
- ccdproc.sigma_func(arr, axis=None, ignore_nan=False)[source]¶
Robust method for calculating the deviation of an array.
sigma_funcuses the median absolute deviation to determine the standard deviation.- Parameters:
- arr
CCDDataornumpy.ndarray Array whose deviation is to be calculated.
- axisint, 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.
- arr
- Returns:
- uncertaintyfloat
uncertainty of array estimated from median absolute deviation.