PrecalAveragine#

class pyopenms.PrecalAveragine#

Bases: object

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

__init__() → None#
__init__(arg: pyopenms.PrecalAveragine, /) → None
__init__(min_mass: float, max_mass: float, delta: float, generator: pyopenms.CoarseIsotopePatternGenerator, use_RNA_averagine: bool) → None
__init__(min_mass: float, max_mass: float, delta: float, generator: pyopenms.CoarseIsotopePatternGenerator, use_RNA_averagine: bool, decoy_iso_distance: float) → None

Methods

__init__()

get(mass)

Get isotope distribution for given mass

getApexIndex(mass)

Get apex isotope index

getAverageMassDelta(mass)

Get mass diff between avg and mono

getLastIndex(mass)

Get last isotope index

getLeftCountFromApex(mass)

Get isotope count left of apex

getMaxIsotopeIndex()

Get max isotope index

getMostAbundantMassDelta(mass)

Get mass diff between most abundant and mono

getRightCountFromApex(mass)

Get isotope count right of apex

getSNRMultiplicationFactor(mass)

Get SNR multiplication factor

setMaxIsotopeIndex(index)

Set max isotope index

get(mass: float) → pyopenms.IsotopeDistribution#

Get isotope distribution for given mass

getApexIndex(mass: float) → int#

Get apex isotope index

getAverageMassDelta(mass: float) → float#

Get mass diff between avg and mono

getLastIndex(mass: float) → int#

Get last isotope index

getLeftCountFromApex(mass: float) → int#

Get isotope count left of apex

getMaxIsotopeIndex() → int#

Get max isotope index

getMostAbundantMassDelta(mass: float) → float#

Get mass diff between most abundant and mono

getRightCountFromApex(mass: float) → int#

Get isotope count right of apex

getSNRMultiplicationFactor(mass: float) → float#

Get SNR multiplication factor

setMaxIsotopeIndex(index: int) → None#

Set max isotope index