def filterPoints(self, filterSize): """Delete all spectrum points invisible in current resolution""" # filter spectrum data if len(self.spectrumScaled) > 0 and self.properties['showSpectrum']: self.spectrumScaled = calculations.filterPoints( self.spectrumScaled, filterSize)
def filterPoints(self, filterSize): """Delete all spectrum points invisible in current resolution""" # filter spectrum data if len(self.spectrumScaled) > 0 and self.properties['showSpectrum']: self.spectrumScaled = calculations.filterPoints(self.spectrumScaled, filterSize)
def filterPoints(self, filterSize): """Filter points for printing and exporting""" # filter data if len(self.scaled) > 0: self.scaled = calculations.filterPoints(self.scaled, filterSize)