ApproxFloor

class lsst.analysis.tools.actions.scalar.ApproxFloor(*args, **kw)

Bases: ScalarFromVectorAction

Returns the median of the lowest ten values of the sorted input.

Attributes Summary

vectorKey

Key of Vector to compute statistic from.

Methods Summary

__call__(data, **kwargs)

Compute a scalar value from keyed data.

Attributes Documentation

vectorKey

Key of Vector to compute statistic from. (str)

Methods Documentation

__call__(data: MutableMapping[str, ndarray[Any, dtype[ScalarType]] | Scalar | HealSparseMap], **kwargs) Scalar

Compute a scalar value from keyed data.

Parameters:
data

Keyed data to compute a value from.

kwargs

Additional keyword arguments.

Returns:
A scalar value.