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

The field has rank 2, should be 4 for MCA spectrum detector data #14

Open
jkotan opened this issue Oct 2, 2024 · 1 comment
Open

The field has rank 2, should be 4 for MCA spectrum detector data #14

jkotan opened this issue Oct 2, 2024 · 1 comment

Comments

@jkotan
Copy link

jkotan commented Oct 2, 2024

I would expect data of MCA spectrum detectors can be stored in NXdetector/data as
2D array. However, I get

            NXdetector: /scan/instrument/mca01
                Field: /scan/instrument/mca01/data
                    The field has rank 2, should be 4
@rayosborn
Copy link
Contributor

This is a major issue that needs to be resolved by the NIAC. The base class definitions include a number of fields with rigidly specified ranks that should, I believe, be made variable. I plan to use NXValidate to highlight such issues, so thank you for raising it.

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

2 participants