PeakShape#

class pyopenms.PeakShape#

Bases: object

Cython implementation of _PeakShape

Original C++ documentation is available here

Internal representation of a peak shape (used by the PeakPickerCWT)

It defines an asymmetric Lorentzian and asymmetric hyperbolic squared secan function

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: PeakShape) None

Overload:

__init__(self, height_: float, mz_position_: float, left_width_: float, right_width_: float, area_: float, type_: int) None

Methods

__init__

Overload:

getFWHM(self)

Estimates the full width at half maximum

getSymmetricMeasure(self)

Computes symmetry measure of the peak shape, which is corresponds to the ratio of the left and right width parameters

iteratorsSet(self)

Check if endpoint iterators are provided

Attributes

area

height

left_width

mz_position

r_value

right_width

signal_to_noise

type

PeakShape_Type#

alias of __PeakShape_Type

area#
getFWHM(self) float#

Estimates the full width at half maximum

getSymmetricMeasure(self) float#

Computes symmetry measure of the peak shape, which is corresponds to the ratio of the left and right width parameters

height#
iteratorsSet(self) bool#

Check if endpoint iterators are provided

left_width#
mz_position#
r_value#
right_width#
signal_to_noise#
type#