scipp / essimaging

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

Ymir imaging I/O helpers #38

Closed YooSunYoung closed 1 month ago

YooSunYoung commented 2 months ago

Related to #34

Reference: https://github.com/scipp/ess-legacy/blob/683747138f1775d106809bf17bf5f56b75d6e0d3/imaging/helper_funcs.py#L41-L68

TODO

YooSunYoung commented 2 months ago

Is this for some non-compliant Nexus files, or why can't we use ScippNexus?

The 2d detector images are stored in int16, it crashes with scippnexus. Or is there a way you can skip incompatible part?

YooSunYoung commented 2 months ago

Hmm...! I was wrong. I thought scippnexus raised an error when loading the images but it seems okay. I replaced the h5py to scippnexus.

YooSunYoung commented 2 months ago

I just need to update the dependencies to run the CI.

YooSunYoung commented 2 months ago

We decided not to use data array to separate images, but the dictionary. I'll reopen it when it's fixed.