sigma_func

ccdproc.sigma_func(arr, axis=None, ignore_nan=False)[source]

Robust method for calculating the deviation of an array. sigma_func uses the median absolute deviation to determine the standard deviation.

Parameters:
arrCCDData or numpy.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 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 is None.

Returns:
uncertaintyfloat

uncertainty of array estimated from median absolute deviation.