Git Product home page Git Product logo

Comments (4)

hakonanes avatar hakonanes commented on August 26, 2024

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.

hakonanes avatar hakonanes commented on August 26, 2024

@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.

IMBalENce avatar IMBalENce commented on August 26, 2024

Great! Thank you so much. I'll give it a try right now and let you know if I have any questions.

from kikuchipy.

hakonanes avatar hakonanes commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.