NLargest#
- class pyopenms.NLargest#
Bases:
objectCython implementation of _NLargest
- Original C++ documentation is available here
– Inherits from [‘DefaultParamHandler’]
Methods
Overload:
filterPeakMap(self, exp)Keep only n-largest peaks in each spectrum of a peak map
filterPeakSpectrum(self, spec)Keep only n-largest peaks in spectrum
filterSpectrum(self, spec)Keep only n-largest peaks in spectrum
getDefaults(self)Returns the default parameters
getName(self)Returns the name
getParameters(self)Returns the parameters
getSubsections(self)setName(self, in_0)Sets the name
setParameters(self, param)Sets the parameters
- filterPeakMap(self, exp: MSExperiment) None#
Keep only n-largest peaks in each spectrum of a peak map
- filterPeakSpectrum(self, spec: MSSpectrum) None#
Keep only n-largest peaks in spectrum
- filterSpectrum(self, spec: MSSpectrum) None#
Keep only n-largest peaks in spectrum
- getSubsections(self) List[bytes]#