Changeset 8004

Show
Ignore:
Timestamp:
07/09/08 16:49:48 (5 years ago)
Author:
mcarrick
Message:

normalizing frequency display from -1 to +1

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ossiedev/trunk/tools/alf_plugins/plot/plot.py

    r7943 r8004  
    14891489            spectrum = _Numeric.fft.helper.fftshift(spectrum) 
    14901490            self.data1 = self.initialArray.copy() 
     1491            self.data1=self.data1/(self.fftOrder/2) 
    14911492            self.data1.shape = (len(spectrum), 2) 
     1493 
    14921494            if self.plottingPeriodogram: 
    14931495                my_sp = 10 * _Numeric.log10(pow(abs(spectrum),2) + 0.00001)