-
Notifications
You must be signed in to change notification settings - Fork 29
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
Patterns load from EDAX .h5 file cannot be plotted directly #487
Comments
By the way, I found a way to convert EDAX .up1 and .up2 binaries to .h5 in EDAX OIM, not quite straight forward though. Happy to share them if you find useful. |
Thanks for reporting this! The cause is a new property The new property was added in anticipation of completing #466, where I try to remove unnecessary metadata and move stuff over to Since EDAX HDF5 files store patterns after static background correction, there isn't a static background pattern in the file. The check for whether it's possible to deepcopy |
That make sense now, as I've only tested this part on I'll give it a try to fix it. Otherwise I'll leave it to you. |
This will be fixed in #537. |
Not sure if the title explains the issue accurate enough or not.
The symptom shows up after loading an EDAX .h5 file and plot the data
It seems to have something to do with
s.static_background
, as I can confirms.data
has been correctly imported. and the value ofs.static_background
is -1.I also did a quick comparison by loading a Oxford .ebsp file. The plot function behaves like normal and the value of
s.static_background
isNone
in this case.The text was updated successfully, but these errors were encountered: