RmsAction#

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

Bases: ScalarFromVectorAction

Calculates the root mean square of the given data (without subtracting the mean as in StdevAction).

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[tuple[Any, ...], dtype[_ScalarT]] | Scalar | HealSparseMap | Tensor | Mapping], **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.