RangeIntensity#

class pyopenms.RangeIntensity#

Bases: RangeBase

OpenMS class RangeIntensity

__init__() → None#
__init__(arg: pyopenms.RangeIntensity, /) → None

Methods

__init__()

contains(value)

Is value within [min, max]?

containsIntensity(value)

Is value within [min, max]?

extend(other)

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

extendIntensity(value)

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

getMax()

getMaxIntensity()

Returns the maximum intensity

getMin()

getMinIntensity()

Returns the minimum intensity

setMax(max)

setMaxIntensity(max)

setMin(min)

setMinIntensity(min)

contains(value: float) → bool#

Is value within [min, max]?

containsIntensity(value: float) → bool#
containsIntensity(inner_range: pyopenms.RangeBase) → bool

Is value within [min, max]?

extend(other: pyopenms.RangeBase) → None#

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

extendIntensity(value: float) → None#

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

getMax() → float#
getMaxIntensity() → float#

Returns the maximum intensity

getMin() → float#
getMinIntensity() → float#

Returns the minimum intensity

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