Med2Mad

class lsst.analysis.tools.actions.plot.Med2Mad(*args, **kw)

Bases: VectorAction

Return the median +/- 2*nansigmamad values of an input vector to use as the minimum and maximum values of a colorbar range.

Parameters:
dataVector

A vector containing the data whose median +/- 2*nansigmamad are to be returned.

Returns:
A two-element vector containing the median +/- 2*nansigmamad values of
data.

Methods Summary

__call__(data, **kwargs)

Call self as a function.

Methods Documentation

__call__(data: ndarray[Any, dtype[ScalarType]], **kwargs) ndarray[Any, dtype[ScalarType]]

Call self as a function.