Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pydevices/RfxDevices/SPIDER_FFT.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down