scippneutron.conversion.graph.tof#

Graphs for computing coordinates in time-of-flight neutron scattering.

See scippneutron.conversion.tof for definitions of the quantities used here. And the user guide for examples.

Functions in this module come in two categories and return graphs that

  • can be used to compute a specific coordinate as identified by the function name (e.g. elastic_energy) from a given coordinate as given by the start argument. These graphs may contain more than one node if necessary.

  • can be used to compute multiple coordinates, (elastic and kinematic). Their start argument works as in the other functions.

Functions

direct_inelastic(start)

Graph for direct-inelastic scattering transformations.

elastic(start)

Graph for elastic scattering transformations.

elastic_Q(start)

Graph for elastic scattering transformation to Q.

elastic_Q_vec(start)

Graph for elastic scattering transformation to Q vector.

elastic_dspacing(start)

Graph for elastic scattering transformation to dspacing.

elastic_energy(start)

Graph for elastic scattering transformation to energy.

elastic_hkl(start)

Graph for elastic scattering transformation to Q vector.

elastic_wavelength(start)

Graph for elastic scattering transformation to wavelength.

indirect_inelastic(start)

Graph for indirect-inelastic scattering transformations.

kinematic(start)

Graph with pure kinematics.