Peak2D#
- class pyopenms.Peak2D#
Bases:
objectA 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__() None#
- __init__(arg0: tuple[float, float], arg1: float, /) None
- __init__(arg: pyopenms.Peak2D, /) None
Methods
__init__()Returns the data point intensity (height)
getMZ()Returns the m/z coordinate (index 1)
getRT()Returns the RT coordinate (index 0)
setIntensity(intensity)Sets the data point intensity (height)
setMZ(coordinate)Sets the m/z coordinate (index 1)
setRT(coordinate)Sets the RT coordinate (index 0)
Attributes
- DIMENSION = 2#
- class DimensionDescription(*values)#
Bases:
EnumNames of the dimensions of a 2D peak
- DIMENSION = 2#
- MZ = 1#
- RT = 0#
- getMapping()#
Returns a dict mapping int values to enum member name strings.
- MZ = 1#
- RT = 0#
- getIntensity() float#
Returns the data point intensity (height)
- getMZ() float#
Returns the m/z coordinate (index 1)
- getRT() float#
Returns the RT coordinate (index 0)
- setIntensity(intensity: float) None#
Sets the data point intensity (height)
- setMZ(coordinate: float) None#
Sets the m/z coordinate (index 1)
- setRT(coordinate: float) None#
Sets the RT coordinate (index 0)