Peak2D#

class pyopenms.Peak2D#

Bases: object

Cython implementation of _Peak2D

Original C++ documentation is available here

A 2-dimensional raw data point or peak.

This data structure is intended for continuous data or peak data. If you want to annotated single peaks with meta data, use RichPeak2D instead

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: Peak2D) None

Methods

__init__

Overload:

getIntensity(self)

Returns the data point intensity (height)

getMZ(self)

Returns the m/z coordinate (index 1)

getRT(self)

Returns the RT coordinate (index 0)

setIntensity(self, in_0)

Returns the data point intensity (height)

setMZ(self, in_0)

Returns the m/z coordinate (index 1)

setRT(self, in_0)

Returns the RT coordinate (index 0)

getIntensity(self) float#

Returns the data point intensity (height)

getMZ(self) float#

Returns the m/z coordinate (index 1)

getRT(self) float#

Returns the RT coordinate (index 0)

setIntensity(self, in_0: float) None#

Returns the data point intensity (height)

setMZ(self, in_0: float) None#

Returns the m/z coordinate (index 1)

setRT(self, in_0: float) None#

Returns the RT coordinate (index 0)