FineIsotopePatternGenerator#

class pyopenms.FineIsotopePatternGenerator#

Bases: object

Isotope pattern generator for fine isotope distributions. Generates isotopes until a stop condition (threshold) is reached, the lower the threshold the more isotopes are generated. The parameter use_total_prob defines whether the stop condition is interpreted as the total probability that the distribution should cover (default) or as a threshold for individual peaks. Finally, the absolute parameter specifies for individual peak thresholding if the threshold is absolute or relative.

__init__() → None#
__init__(stop_condition: float, use_total_prob: bool = True, absolute: bool = False) → None

Methods

getAbsolute() → bool#
getThreshold() → float#
getTotalProbability() → bool#
run(ef: pyopenms.EmpiricalFormula) → pyopenms.IsotopeDistribution#
setAbsolute(absolute: bool) → None#
setThreshold(stop_condition: float) → None#
setTotalProbability(total: bool) → None#