-
Notifications
You must be signed in to change notification settings - Fork 3
Support ISIS histogram files #214
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
Conversation
| # Loading many small files with Mantid is, for some reason, very slow when using | ||
| # the default number of threads in the Dask threaded scheduler (1 thread worked | ||
| # best, 2 is a bit slower but still fast). We can either limit that thread count, | ||
| # or add a lock here, which is more specific. |
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.
Interesting. This might also help with other loaders. I saw some slowdown in BIFROST when using a threaded scheduler.
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.
You think this is due to HDF5 and not just Mantid?
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.
Possibly. But I don't know. We should investigate
src/ess/isissans/mantidio.py
Outdated
| ) | ||
| except TypeError: | ||
| # Not loaded using LoadEventNexus, so LoadMonitor option is not available. | ||
| loaded = _mantid_simpleapi.Load(Filename=str(filename), StoreInADS=False) |
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.
Why do you call Load again after the lock?
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.
Oops, should have been inside the lock. See update,
Co-authored-by: Jan-Lukas Wynen <j-l.wynen@hotmail.de>
Co-authored-by: Jan-Lukas Wynen <j-l.wynen@hotmail.de>
Co-authored-by: Jan-Lukas Wynen <j-l.wynen@hotmail.de>
What the title says. Needed for processing ZOOM polarized data.
So far I do not have permission to share the files, so there is no added test.