Skip to content
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

Feature: a unified Tiled NXSAS / NXcanSAS loader #144

Open
EliotGann opened this issue Sep 3, 2024 · 0 comments
Open

Feature: a unified Tiled NXSAS / NXcanSAS loader #144

EliotGann opened this issue Sep 3, 2024 · 0 comments

Comments

@EliotGann
Copy link
Collaborator

EliotGann commented Sep 3, 2024

There is an effort to make NEXUS compatible metadata available in EVERY bluesky scan.

One approach is shown in process here

in practice a bluesky tiled run that is compliant would have a list of available NEXUS formats in it's start document metadata and where (within the tiled run - baseline, primary, monitor stream or descriptor etc) to get the metadata for each element of that NEXUS format, so a reader that was interested in NXXAS, NXSAS, NXcanSAS (like Pyhyper) could reach in and get that structured data without having the complexity in the reader code. It could also ignore the Nexus formats it's not interested in, (NXXRR). So the same simple reader code could read data from any compliant tiled/bluesky source.

It seems to me that this would simplify the loader lift for each instrument -(putting that weight on the beamline to structure it's metadata nicely). It's also a way to future proof a reader for a beamline, so you don't have to remember how to find the certain metadata from RSoXS in sept 2021 as opposed to oct 2022 within pyhyper.

I think there would probably need to be a way to replace the lookuptable provided in the metadata with a different custom lookup table.

@EliotGann EliotGann changed the title a unified Tiled NXSAS / NXcanSAS loader Feature: a unified Tiled NXSAS / NXcanSAS loader Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant