We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ea09f0 commit cdfd5beCopy full SHA for cdfd5be
3 files changed
requirements/conda.txt
@@ -1,5 +1,4 @@
1
h5py
2
-time
3
tk
4
matplotlib-base
5
numpy
requirements/pip.txt
matplotlib
src/diffpy/fourigui/fourigui.py
@@ -392,15 +392,12 @@ def fft(self):
392
"""
393
394
def perform_fft(fftholder):
395
- time0 = time.time()
396
fftholder = np.nan_to_num(fftholder)
397
size = list(fftholder.shape)
398
fftholder = np.fft.ifftshift(fftholder)
399
fftholder = np.fft.fftn(fftholder, s=size, norm="ortho")
400
fftholder = np.fft.fftshift(fftholder)
401
fftholder = fftholder.real
402
- fftdur = time.time() - time0
403
- print("- FFT performed in {} sec.".format(round(fftdur, 4)))
404
return fftholder
405
406
if not self.transformed and not self.transcutted: # no fft at all yet
0 commit comments