Adduct#

class pyopenms.Adduct#

Bases: object

Cython implementation of _Adduct

Original C++ documentation is available here

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: Adduct) None

Overload:

__init__(self, charge: int) None

Overload:

__init__(self, charge: int, amount: int, singleMass: float, formula: bytes | str | String, log_prob: float, rt_shift: float, label: bytes | str | String) None

Methods

__init__

Overload:

getAmount(self)

getCharge(self)

getFormula(self)

getLabel(self)

getLogProb(self)

getRTShift(self)

getSingleMass(self)

setAmount(self, amount)

setCharge(self, charge)

setFormula(self, formula)

setLogProb(self, log_prob)

setSingleMass(self, singleMass)

getAmount(self) int#
getCharge(self) int#
getFormula(self) bytes | str | String#
getLabel(self) bytes | str | String#
getLogProb(self) float#
getRTShift(self) float#
getSingleMass(self) float#
setAmount(self, amount: int) None#
setCharge(self, charge: int) None#
setFormula(self, formula: bytes | str | String) None#
setLogProb(self, log_prob: float) None#
setSingleMass(self, singleMass: float) None#