Last active
January 7, 2016 23:14
-
-
Save thomasaarholt/d8fa0a53c7cca210d857 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hyperspy.api as hs | |
%matplotlib qt4 | |
s = hs.load("EELS 0eV.dm3") | |
s.plot() # This works! | |
import traitsui | |
traitsui.__version__ | |
'5.0.0' | |
s.spikes_removal_tool() | |
--------------------------------------------------------------------------- | |
NotImplementedError Traceback (most recent call last) | |
<ipython-input-7-d42d0b17f940> in <module>() | |
----> 1 s.spikes_removal_tool() | |
/Users/thomas/anaconda/lib/python2.7/site-packages/hyperspy/_signals/spectrum.pyc in spikes_removal_tool(self, signal_mask, navigation_mask) | |
134 navigation_mask=navigation_mask, | |
135 signal_mask=signal_mask) | |
--> 136 sr.configure_traits() | |
137 return sr | |
138 | |
/Users/thomas/anaconda/lib/python2.7/site-packages/traits/has_traits.pyc in configure_traits(self, filename, view, kind, edit, context, handler, id, scrollable, **args) | |
2384 context = self | |
2385 rc = toolkit().view_application( context, self.trait_view( view ), | |
-> 2386 kind, handler, id, scrollable, args ) | |
2387 if rc and (filename is not None): | |
2388 fd = None | |
/Users/thomas/anaconda/lib/python2.7/site-packages/traitsui/toolkit.pyc in view_application(self, context, view, kind, handler, id, scrollable, args) | |
243 | |
244 """ | |
--> 245 raise NotImplementedError | |
246 | |
247 #--------------------------------------------------------------------------- | |
NotImplementedError: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment