utils.sigma_from_median#
Back to Module page
Summary#
Computes sigma from median for an array with Gaussian samps + outliers Silently returns 1 if we passed in an empty array
Signature#
def sigma_from_median(arr, axis = -1)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
Array with samples |
||
|
-1 |
Axis to compute the sigma along |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Docstring#
Computes sigma from median for an array with Gaussian samps + outliers
Silently returns 1 if we passed in an empty array
:param arr: Array with samples
:param axis: Axis to compute the sigma along