Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds some battle-tested code from Larch to get to "better" reading of beamline data. It's not being used yet.
I also added a folder
conversion_examples
with some converted examples, but not (yet) done with pynxxas, but done "by hand" (and pretty hacky at that!!) to try to get an idea of what is needed.So far, there are 3 Fe K-edge transmission spectra converted from XDI. So, maybe not super-challenging, but challenging enough to get everything consistent and in the right place.
Starting from "original XDI", there is both "new XDI" and a NeXuS file. The "intensity" is pre-edge subtracted and edge-step normalized mu(E), and the processing steps to get that are recorded.
Over the next couple of days, I hope to add examples of
a) data from a Japanese beamline, with data in angle
b) fluorescence data with multiple channels.