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.
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.