diff --git a/pydevices/RfxDevices/SPIDER_FFT.py b/pydevices/RfxDevices/SPIDER_FFT.py index 916c737185..8e43cc17bd 100644 --- a/pydevices/RfxDevices/SPIDER_FFT.py +++ b/pydevices/RfxDevices/SPIDER_FFT.py @@ -125,7 +125,7 @@ def store(self): if currMax > maxIdx: origOffset = origOffset + 1 #keep trak of the shift that may occur removing the index maxIdxs.append(maxIdx) - outFreqSegs[hIdx].append(acqFreq * np.float(maxIdx + origOffset) / burstSize) + outFreqSegs[hIdx].append(acqFreq * float(maxIdx + origOffset) / burstSize) outAmplSegs[hIdx].append(fftAmp[maxIdx]) outPhaseSegs[hIdx].append(fftPhs[maxIdx]) np.delete(fftAmp, maxIdx)