RangeIntensity#

class pyopenms.RangeIntensity#

Bases: object

Cython implementation of _RangeIntensity

Original C++ documentation is available here

– Inherits from [‘RangeBase’]

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: RangeIntensity) None

Methods

__init__

Overload:

contains(self, value)

Is value within [min, max]?

containsIntensity(self, value)

Is value within [min, max]?

extend(self, value)

Extend the range such that it includes the given @p value

extendIntensity(self, value)

Extend the range such that it includes the given @p value

getMax(self)

getMaxIntensity(self)

Returns the maximum intensity

getMin(self)

getMinIntensity(self)

Returns the minimum intensity

setMax(self, max)

setMaxIntensity(self, max)

setMin(self, min)

setMinIntensity(self, min)

contains(self, value: float) bool#

Is value within [min, max]?

containsIntensity(self, value: float) bool#

Is value within [min, max]?

extend(self, value: float) None#

Extend the range such that it includes the given @p value

extendIntensity(self, value: float) None#

Extend the range such that it includes the given @p value

getMax(self) float#
getMaxIntensity(self) float#

Returns the maximum intensity

getMin(self) float#
getMinIntensity(self) float#

Returns the minimum intensity

setMax(self, max: float) None#
setMaxIntensity(self, max: float) None#
setMin(self, min: float) None#
setMinIntensity(self, min: float) None#