ess.beer.conversions#

Functions

compute_tof(da, graph)

Uses the transformation graph to compute tof.

compute_tof_in_each_cluster(da, mod_period)

Fits a line through each cluster, the intercept of the line is t0.

t0_estimate(wavelength_estimate, L0, Ltotal)

Estimates the time-at-chopper by assuming the wavelength.

time_of_arrival(event_time_offset, tc)

Does frame unwrapping for pulse shaping chopper modes.

tof_from_known_dhkl_graph(mod_period, ...)

Graph computing tof in modulation chopper modes using list of peak positions.

tof_from_t0_estimate_graph()

Graph for computing tof in pulse shaping chopper modes.