MassTraces#

class pyopenms.MassTraces#

Bases: object

Helper struct for a collection of mass traces used in FeatureFinderAlgorithmPicked.

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

Methods

__init__()

getPeakCount()

Returns the peak count of all traces

getRTBounds()

Returns the RT boundaries of the mass traces

getTheoreticalmaxPosition()

Returns the theoretical maximum trace index

isValid(seed_mz, trace_tolerance)

Checks if still valid (seed still contained and enough traces)

size()

Returns the number of mass traces

updateBaseline()

Sets the baseline to the lowest contained peak of the trace

Attributes

property baseline: float#
getPeakCount() → int#

Returns the peak count of all traces

getRTBounds() → tuple[float, float]#

Returns the RT boundaries of the mass traces

getTheoreticalmaxPosition() → int#

Returns the theoretical maximum trace index

isValid(seed_mz: float, trace_tolerance: float) → bool#

Checks if still valid (seed still contained and enough traces)

property max_trace: int#
size() → int#

Returns the number of mass traces

updateBaseline() → None#

Sets the baseline to the lowest contained peak of the trace