OPXLSpectrumProcessingAlgorithms#

class pyopenms.OPXLSpectrumProcessingAlgorithms#

Bases: object

OpenMS class OPXLSpectrumProcessingAlgorithms

__init__() → None#
__init__(arg: pyopenms.OPXLSpectrumProcessingAlgorithms, /) → None

Methods

__init__()

getSpectrumAlignmentFastCharge(...[, ...])

Computes a spectrum alignment considering fragment charges, returns (alignment, ppm_error_array)

getSpectrumAlignmentSimple(...)

Computes a spectrum alignment using SimplePeak for the theoretical spectrum

mergeAnnotatedSpectra(first_spectrum, ...)

preprocessSpectra(exp, ...)

static getSpectrumAlignmentFastCharge(fragment_mass_tolerance: float, fragment_mass_tolerance_unit_ppm: bool, theo_spectrum: pyopenms.MSSpectrum, exp_spectrum: pyopenms.MSSpectrum, theo_charges: pyopenms.IntegerDataArray, exp_charges: pyopenms.IntegerDataArray, intensity_cutoff: float = 0.0) → tuple[list[tuple[int, int]], pyopenms.FloatDataArray]#

Computes a spectrum alignment considering fragment charges, returns (alignment, ppm_error_array)

static getSpectrumAlignmentSimple(fragment_mass_tolerance: float, fragment_mass_tolerance_unit_ppm: bool, theo_spectrum: collections.abc.Sequence[pyopenms.SimplePeak], exp_spectrum: pyopenms.MSSpectrum, exp_charges: pyopenms.IntegerDataArray) → list[tuple[int, int]]#

Computes a spectrum alignment using SimplePeak for the theoretical spectrum

static mergeAnnotatedSpectra(first_spectrum: pyopenms.MSSpectrum, second_spectrum: pyopenms.MSSpectrum) → pyopenms.MSSpectrum#
static preprocessSpectra(exp: pyopenms.MSExperiment, fragment_mass_tolerance: float, fragment_mass_tolerance_unit_ppm: bool, peptide_min_size: int, min_precursor_charge: int, max_precursor_charge: int, deisotope: bool, labeled: bool) → pyopenms.MSExperiment#