-
Notifications
You must be signed in to change notification settings - Fork 56
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
Detector channels #1252
Detector channels #1252
Conversation
Which slice of data to show in a plot by default. This is useful especially for datasets with more than 2 dimensions.
Thank you for the PR Aaron! First glance is looking good, I will review everything in detail next week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should mention NXdetector_channel in NXdetector as well. I guess something like this might do?
<group name="CHANNELNAME_channel" type="NXdetector_channel">
<doc>
Group containing the description and metadata for a single channel from a multi-channel
detector.
Given an :ref:`NXdata` group linked as part of an NXdetector group that has an axis with
named channels (see the example in :ref:`NXdata </NXdata@default_slice-attribute>`),
the NXdetector will have a series of NXdetector_channel groups, one for each channel,
named CHANNELNAME_channel.
</doc>
</group>
Co-authored-by: Sophie Hotz [email protected]
Co-authored-by: soph-dec <[email protected]>
bc9ca80
to
ddfba34
Compare
Also add it as optional for NXmx See original Dectris proposal: https://github.com/dectris/documentation/tree/main/filewriter_v2#user-content-multi-channel-data Closes #940 Co-authored-by: Sophie Hotz <[email protected]>
ddfba34
to
81388d1
Compare
Co-authored-by: soph-dec <[email protected]>
Co-authored-by: Sophie Hotz <[email protected]>
Done! Also added to NXmx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth doing
Co-authored-by: soph-dec <[email protected]>
Co-authored-by: Sophie Hotz <[email protected]> Co-authored-by: soph-dec <[email protected]>
Fix conflicts, adjusting phrase "Most dimensions scales will be sequences of numbers" to "Most AXISNAME fields will be sequences of numbers"
Conflicts fixed, no changes to this branch. Reviewers might find it easier to use this link to compare the |
For details see the open PR on github: nexusformat/definitions#1252
This PR is ready for a NIAC vote. Please vote with an emoji on this comment. Options include thumbs up for yes, thumbs down for no, and anything else to abstain. Thank you. Voting will close in two weeks. |
Vote has passed. Thanks all. |
This PR adds NXdetector_channel as a base class and adds it as optional for NXmx. @soph-dec and @kalcutter I put in placeholder documentation. Can you review and comment?
See original Dectris proposal:
https://github.com/dectris/documentation/tree/main/filewriter_v2#user-content-multi-channel-data
Closes #940
Requires #1246 to be merged first
Co-authored-by: Sophie Hotz [email protected]