scipp / essreduce

Common functionality for ESS data reduction
https://scipp.github.io/essreduce/
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Load choppers and analysers #133

Closed jl-wynen closed 3 days ago

jl-wynen commented 1 week ago

This extends the component-loading code to allow loading all components of a certain type. With choppers and analysers, we typically need all of them. So there is little use in splitting it up and loading each one individually. Also, BIFROST has a lot of analysers and I would rather not list all their names in a call to map-reduce.

Note that choppers are not parsed into scippneutron.chopper.DiskChopper objects because their time-dependent quantities first need to be processed. And that can probably not be done generically in ESSreduce.