SpectraMerger#
- class pyopenms.SpectraMerger#
Bases:
objectCython implementation of _SpectraMerger
- Original C++ documentation is available here
– Inherits from [‘DefaultParamHandler’]
- __init__()#
Overload:
- __init__(self) None
Merges blocks of MS or MS2 spectra
Overload:
- __init__(self, in_0: SpectraMerger) None
Methods
Overload:
average(self, exp, average_type)Average over neighbouring spectra
getDefaults(self)Returns the default parameters
getName(self)Returns the name
getParameters(self)Returns the parameters
getSubsections(self)mergeSpectraBlockWise(self, exp)mergeSpectraPrecursors(self, exp)Merges spectra with similar precursors (must have MS2 level)
setName(self, in_0)Sets the name
setParameters(self, param)Sets the parameters
- average(self, exp: MSExperiment, average_type: bytes | str | String) None#
Average over neighbouring spectra
- Parameters:
exp – Experimental data to be averaged
average_type – Averaging type to be used (“gaussian” or “tophat”)
- getSubsections(self) List[bytes]#
- mergeSpectraBlockWise(self, exp: MSExperiment) None#
- mergeSpectraPrecursors(self, exp: MSExperiment) None#
Merges spectra with similar precursors (must have MS2 level)