Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFT fails on Signal2Ds #112

Closed
thomasaarholt opened this issue Feb 21, 2017 · 2 comments
Closed

FFT fails on Signal2Ds #112

thomasaarholt opened this issue Feb 21, 2017 · 2 comments

Comments

@thomasaarholt
Copy link
Contributor

As the title says. Terminal returns the following error:

s = hs.signals.Signal2D(sc.misc.face()).as_signal2D((2,0)).inav[0]
s.plot()
# Call the FFT function from the menu

Error:

Traceback (most recent call last):
  File "/Users/thomas/Dropbox/0_Git/hyperspyUI/hyperspyui/plugins/fft.py", line 167, in fft
    for i in do_ffts():
  File "/Users/thomas/Dropbox/0_Git/hyperspyUI/hyperspyui/plugins/fft.py", line 149, in do_ffts
    if u.endswith('-1'):
AttributeError: '_Undefined' object has no attribute 'endswith'
@vidartf
Copy link
Member

vidartf commented Feb 21, 2017

Duplicate of #95.

@vidartf vidartf closed this as completed Feb 21, 2017
@thomasaarholt
Copy link
Contributor Author

Sorry, should have searched. Thought I was up to date on the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants