Comments (4)
I'm currently working on modify the \kikuchipy\io\plugins\h5ebsd.py reader to convert the .h5oina headers to dictionary
That's great! However, I've got a local branch where I've generalized the H5EBSD reader a bit to make adding and extending H5EBSD readers easier: I'll try to get that branch finished within the next couple of weeks so you can make your H5OINA reader based on that work! I didn't finish it because it takes a bit of work to make the readers return an EBSD
signal with a CrystalMap
and EBSDDetector
attached.
The metadata ebsd_node
is deprecated (see the changelog), we should instead return an EBSDDetector
with all the values.
from kikuchipy.
@IMBalENce, I've updated a branch in my fork with the coming generalized h5ebsd file reader here. If you could install it with
pip install git+https://github.com/hakonanes/kikuchipy.git@write-read-xmap-kikuchipy-h5ebsd
and test the following on your Oxford h5ebsd (H5OINA) datasets
>>> import kikuchipy as kp
>>> s = kp.load("data.h5oina")
>>> print(s)
>>> print(s.detector)
I'd appreciate it very much. I tested it on a file I got from @CiosG a while back.
The Oxford h5ebsd reader is minimal at the moment, only reading the patterns and the PC arrays, but should be enough to start using.
from kikuchipy.
Great! Thank you so much. I'll give it a try right now and let you know if I have any questions.
from kikuchipy.
Thanks. I worked some more on this, and now you should be able to load a H5OINA file as normal via load()
.
from kikuchipy.
Related Issues (20)
- Docs failing, waiting for new release of ipydatawidgets
- Test suite failure in custom Dask chunking functions HOT 2
- PyVista/pythreejs backend does not display anything in a Jupyter notebook HOT 1
- Errors when plotting interactively in notebooks via nbsphinx with PyVista/pythreejs HOT 2
- ValueError when removing static background HOT 10
- Cannot read Oxford's binary .ebsp files with version 4 HOT 9
- ValueError from Dask in EBSD.refine_orientation() in develop branch HOT 1
- Minor 0.8 release coming up HOT 2
- Integration test suite failure HOT 5
- Keeping not_indexed dummy phase after orientation refinement HOT 5
- Lazy and Dask Improvements HOT 2
- Build documentation on Windows (without PyVista frame buffer)
- Segmentation fault HOT 4
- Merging crystal maps with not_indexed points results in removal of phase HOT 1
- Support Python 3.11 HOT 1
- Support HyperSpy 2.0 HOT 10
- Error with `kikuchipy.data.si_wafer` HOT 1
- kikuchipy v0.9.0 HOT 1
- `TestKikuchipyH5EBSD.test_load_with_padding` test failure HOT 1
- Reading of master patterns generated with EDAX HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kikuchipy.