PrecalAveragine#

class pyopenms.PrecalAveragine#

Bases: object

Cython implementation of _PrecalAveragine

Original C++ documentation is available here

Averagine patterns pre-calculated for speed up. Used for fast isotope cosine calculation.

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, min_mass: float, max_mass: float, delta: float, generator: CoarseIsotopePatternGenerator, use_RNA_averagine: bool) None

Overload:

__init__(self, min_mass: float, max_mass: float, delta: float, generator: CoarseIsotopePatternGenerator, use_RNA_averagine: bool, decoy_iso_distance: float) None

Overload:

__init__(self, in_0: PrecalAveragine) None

Methods

__init__

get(self, mass)

Get isotope distribution for given mass

getApexIndex(self, mass)

Get apex isotope index

getAverageMassDelta(self, mass)

Get mass diff between avg and mono

getLastIndex(self, mass)

Get last isotope index

getLeftCountFromApex(self, mass)

Get isotope count left of apex

getMaxIsotopeIndex(self)

Get max isotope index

getMostAbundantMassDelta(self, mass)

Get mass diff between most abundant and mono

getRightCountFromApex(self, mass)

Get isotope count right of apex

getSNRMultiplicationFactor(self, mass)

Get SNR multiplication factor

setMaxIsotopeIndex(self, index)

Set max isotope index

get(self, mass: float) IsotopeDistribution#

Get isotope distribution for given mass

getApexIndex(self, mass: float) int#

Get apex isotope index

getAverageMassDelta(self, mass: float) float#

Get mass diff between avg and mono

getLastIndex(self, mass: float) int#

Get last isotope index

getLeftCountFromApex(self, mass: float) int#

Get isotope count left of apex

getMaxIsotopeIndex(self) int#

Get max isotope index

getMostAbundantMassDelta(self, mass: float) float#

Get mass diff between most abundant and mono

getRightCountFromApex(self, mass: float) int#

Get isotope count right of apex

getSNRMultiplicationFactor(self, mass: float) float#

Get SNR multiplication factor

setMaxIsotopeIndex(self, index: int) None#

Set max isotope index