-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adds support for reading igor files #7
base: main
Are you sure you want to change the base?
Conversation
@rettigl The first base version of this reader is finished. It converts run it finds into a separate entry in the nexus file. I did not include the ibw testing data here, because I wasn't sure if it's fine if I upload them to github. But running the test locally is fine. |
I'll habe a look, thanks. I will look for some data to use as test data |
It does not parse all the metadata yet. It only constructs the data part (but I think this is the complex part). I have to see what is in the full ibw notes, but generally they can just be read out with Currently, I get this warnings:
|
I added now support that each note can be addressed with the |
This is what I get when trying it out (on python 3.8):
Apparently, the key keyword is only support for Python 3.10 and above. |
I see. I wasn't aware of this. I changed it to |
This works to some extend now, and is a very good starting point. I need to think a little about how much of the details of our experiment should be in this reader, or if I rather move it to a different package. |
@lukaspie and I already discussed this but we decided against, because the igor files we had already were so different. Also the reading of these files mainly employ the specific file structure you have and not the actual reading of the |
This converts igor data as collected at the FHI to nexus.
Install: Just install the plugin from this branch with pynx (may need a reinstall because of a new entry point)
Usage:
dataconverter --reader igor_fhi --nxdl NXmpes -c your-config-file.json data-dir-with-ibw-files