ess.amor.conversions#

Functions

add_coords(da, graph)

Adds scattering coordinates to the raw detector data.

add_masks(da, ylim, zlims, bdlim, wbins)

Masks the data by ranges in the detector coordinates z and y, and by the divergence of the beam, and by wavelength.

angle_of_divergence(theta, sample_rotation, ...)

Difference between the incident angle and the center of the incident beam.

coordinate_transformation_graph()

theta(wavelength, divergence_angle, L2, ...)

Angle of reflection.

wavelength(event_time_offset, ...)

Converts event_time_offset to wavelength using the chopper settings.