MinMax

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

Bases: VectorAction

Return the maximum and minimum 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 minimum and maximum are to be returned.

Returns:
A two-element vector containing the minimum and maximum 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.