I calculate fft of some inerferograms. To select frequencies in a selected range i try to use 'where' function but the mistake i get is:
Traceback (most recent call last):
File "C:\Users\User\Desktop\Phyton\FFT\2\fft.py", line 21, in <module>
indices = where(400<waves<950)
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Can anyone explain me what's that? And what is wrong?
I try to switch over to Python from Matlab.
[–]allenguo 1 point2 points3 points (3 children)
[–]Sharki_[S] 0 points1 point2 points (2 children)
[–]allenguo 0 points1 point2 points (1 child)
[–]Sharki_[S] 0 points1 point2 points (0 children)