ess.beer.conversions#

Functions

compute_wavelength_in_each_cluster(da, ...)

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

geometry_graph()

t0_estimate(wavelength_estimate, ...)

Computes the time a neutron reaches a chopper at source_to_wavelength_chopper_distance distance from the source if it has wavelength wavelength_estimate.

time_of_arrival(event_time_offset, ...)

Does frame unwrapping for pulse shaping chopper modes.

tof_from_known_dhkl_graph(da, mod_period, ...)

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

tof_from_t0_estimate_graph(da, gg)

Graph for computing wavelength in pulse shaping chopper modes.

wavelength_detector(da, graph)

Applies the transformation graph to compute wavelength.