Perc#

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

Bases: VectorAction

Return the minimum and maximum values of an input vector after excluding a fraction of values from either end of the distribution.

Parameters#

dataVector

A vector containing the data whose minimum and maximum are to be calculated following the exclusion of a fraction of extreme upper and lower values.

Returns#

A two-element vector containing the minimum and maximum values of the input vector, following the exclusion of a fraction of extreme upper and lower values.

Attributes Summary

percentile

The fraction of values to keep.

Methods Summary

__call__(data, **kwargs)

Call self as a function.

Attributes Documentation

percentile#

The fraction of values to keep. The same fraction of values is eliminated from both ends of the distribution. Default: 97. (float, default 97.0)

Methods Documentation

__call__(data, **kwargs)#

Call self as a function.