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.

coordinate_transformation_graph(gravity, ...)

divergence_angle(theta, sample_rotation, ...)

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

theta(wavelength, pixel_divergence_angle, ...)

Angle of reflection.

theta_no_gravity(wavelength, ...)

Angle of reflection.

wavelength(event_time_offset, ...)

Converts event_time_offset to wavelength using the chopper settings.