ess.beer.conversions.modulation_time_of_arrival#
- ess.beer.conversions.modulation_time_of_arrival(event_time_offset, Ltotal, choppers)[source]#
Unwrap detector event times for a BEER modulation mode.
event_time_offsetcontains detector arrival times folded into one source period. The opening times of the modulation choppers andFC2Adefine the cutoff for shifting an event by oneFC2Aperiod so its time refers to the source pulse that produced it. Here,Ltotalis the distance from the modulation chopper to the detector.- Returns:
time_of_arrival (
sc.Variable) – Detector arrival time relative to the start of the source pulse that produced the event.tof_from_chopper (
sc.Variable) – Approximate time of flight from the modulation chopper to the detector, obtained by subtracting the center time of the modulation-chopper opening.