get_median_and_std_dev

lsst.ts.ess.csc.get_median_and_std_dev(data: numpy.ndarray | list[float] | list[list[float]], axis: Optional[int] = None) tuple[numpy.ndarray, numpy.ndarray] | tuple[float, float]

Compute the median and estimated standard deviation using quantiles.

Parameters:
datalist of float

The data to compute the median for.

axisint

The axis of the data to use.

Returns:
medianfloat

The median.

std_devfloat

Estimate of the standard deviation.