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

silx view: For NXdata with 3D dataset, avoid loading the whole dataset by default #4167

Open
t20100 opened this issue Aug 30, 2024 · 0 comments
Milestone

Comments

@t20100
Copy link
Member

t20100 commented Aug 30, 2024

As it is a NXdata group with a 3D dataset are opened differently depending on the presence of a @interpretation = "image" attribute:

  • With @interpretation = "image": A view displaying one slice is used and slicing is only possible along one dimension
  • Without @interpretation = "image": A StackView is used which allows to slice the stack in all 3D dimensions but also loads the whole stack in memory.

IMO, it would be best to use the same widget no matter of @interpretation = "image".

Anyway, the whole image stack should not be loaded in memory at first by default which is the case not without @interpretation = "image".
The StackView should not load the whole data but only the displayed slice... or another view should be used (at the very least by default).

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