scipp / esssans

SANS data reduction for the European Spallation Source
https://scipp.github.io/esssans/
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Avoiding loading source and sample in monitor and detector loads? #110

Closed SimonHeybrock closed 8 months ago

SimonHeybrock commented 9 months ago

Currently the loaders for NXmonitor and NXdetector load also the source and sample. As we are loading each individually (and also intend to support chunking) this can become very inefficient. Aside from loading (and discarding) potentially large data in NXsample and NXsource (which could be avoided), there is also duplicate file navigation and access, which can be slow.

I think we should load source and sample positions when loading the non-monitor/detector data and merge them into the data later.

As with #109, I think we should consider doing this in ESSreduce.