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_offset contains detector arrival times folded into one source period. The opening times of the modulation choppers and FC2A define the cutoff for shifting an event by one FC2A period so its time refers to the source pulse that produced it. Here, Ltotal is 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.