-
Notifications
You must be signed in to change notification settings - Fork 30
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
EBSD signal axes not set correctly in the Bruker h5ebsd reader #346
Comments
The scalebar and the number grid tile index positions (all crammed in the upper left) in the image (thanks for including this!) tells me that the signal axes are not calibrated correctly. Will look at this some more in the next couple of days and see if the error lies there. |
The signal axes scale aren't set correctly in the Bruker h5ebsd reader. @Fred-Ad, could you try setting the scale manually? # Load data and define roi
>>> s.axes_manager["dx"].scale = 1
>>> s.axes_manager["dy"].scale = 1
>>> s.plot_virtual_bse_intensity(roi) |
@hakonanes , it gives me this error :
|
Hm, thanks for trying it out, sorry it didn't work. For some reason I cannot reproduce this on my side... Could you do me a favor and post the exact lines you're running, as well as the package versions you're running the code with ( |
Strange... It didn't work on my archlinux config, but it worked on my windows (hyperspy bundle + kikuchipy and other things). Thanks !! I'll try to find the differences between the 2 configs. Don't know if you consider it as resolved ? |
Ah, glad it worked there at least! I'm still interested in the configuration on your linux machine where this error was thrown, so yeah, would be nice if you could post that information. Let's leave it open until we have solved the issue of the Bruker h5ebsd reader setting the wrong pixel size ( |
That's okay. It worked after updating all my packages in archlinux ! Sorry to have worried you 😉 |
@Fred-Ad, this should now be fixed in #349, and after that fix is released you should be able to read your data and start visualization directly, without setting the detector pixel sizes (axes manager scales) to 1. Thank you for reporting these issues! There were quite serious bugs resulting in this behaviour. Don't know exactly when we should release the fix, but I think it is OK to wait for a v0.4 release in a month or so, so that we can get more bug fixes and functionality released along side it. |
Thanks a lot Hakon. For the moment that's okay for me, I can do what I need. I'll wait for the v0.4 iwth interest to discover all the new functionnality you'll bring. Cheers |
Issue reported by @Fred-Ad in #329 (I edited the post to just the relevant parts):
Hi Hakon,
I can load the dataset and produce the
s.plot_virtual_bse_intensity(roi)
That's a good point, thanks !
However, there is an error when trying
vbse_rgb_img = vbse_gen.get_rgb_image(r=red, g=green, b=blue)
this gives me this error :
Perhaps it si due to the count of columns and row, as
gives the following image, with a problem with the squares coordinates. I tried with the Ni datadat, no problem. So it is only due to the hdf5 Bruker file.
Sorry to bother you. Hope this is not a big deal.
Regards
Fred
Originally posted by @Fred-Ad in #329 (reply in thread)
The text was updated successfully, but these errors were encountered: