@@ -574,13 +574,12 class Spectra(JROData): | |||
|
574 | 574 | |
|
575 | 575 | def getNoise(self, xmin_index=None, xmax_index=None, ymin_index=None, ymax_index=None): |
|
576 | 576 | |
|
577 |
if self.noise_estimation |
|
|
577 | if self.noise_estimation is not None: | |
|
578 | 578 | return self.noise_estimation #this was estimated by getNoise Operation defined in jroproc_spectra.py |
|
579 | 579 | else: |
|
580 | 580 | noise = self.getNoisebyHildebrand(xmin_index, xmax_index, ymin_index, ymax_index) |
|
581 | 581 | return noise |
|
582 | ||
|
583 | ||
|
582 | ||
|
584 | 583 | def getFreqRange(self, extrapoints=0): |
|
585 | 584 | |
|
586 | 585 | deltafreq = self.getFmax() / (self.nFFTPoints*self.ippFactor) |
General Comments 0
You need to be logged in to leave comments.
Login now