scipp / scippneutron

Neutron scattering toolkit built using scipp for Data Reduction. Not facility or instrument specific.
https://scipp.github.io/scippneutron/
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Track chopper cutouts corresponding to subframes in `tof.chopper_cascade`? #482

Open SimonHeybrock opened 8 months ago

SimonHeybrock commented 8 months ago

It become apparent in #472 that this will likely be required, since not all chopper cutouts are in use at any given time. To compute the time-of-flight origin we need to be able to tell, given a frame or subframe defined by and computed with tof.chopper_cascade, which openings of a given chopper gave rise to that subframe.

It is not 100% clear if this is the correct approach. Maybe there is a better way of computing or setting the TOF origin?