API Reference#
Top-level functions#
Mantid Compatibility#
|
Convert Mantid workspace to a scipp data array or dataset. |
|
Convert Mantid workspace to a scipp data group. |
|
Load a file using Mantid. |
|
Convert data to a Mantid workspace. |
|
Coordinate transformations (Unit conversion)#
|
Perform a unit conversion from the given origin unit to target. |
Beamline geometry#
Note that theta
or scattering_angle
are deliberately not supported,
due to some ambiguity on how the terms are used in the community
and possible confusion of theta
(from Bragg’s law) with theta
in spherical coordinates.
|
Extract the detector pixel positions from a data array or dataset. |
|
Extract the position of the neutron source from a data array or dataset. |
|
Extract the position of the sample from a data array or dataset. |
|
Extract the length of the total flight path from a data array or dataset. |
|
Extract the length of the primary flight path from a data array or dataset. |
|
Extract the length of the secondary flight path from a data array or dataset. |
|
Extract the scattering angle from a data array or dataset. |
|
Extract the incident beam vector from a data array or dataset. |
|
Extract the scattered beam vector from a data array or dataset. |
Submodules#
Parameters for neutron interactions with atoms. |
|
Chopper utilities. |
|
Components for coordinate transformations. |
|
File input and output. |
|
Utilities for logging in ScippNeutron. |
|
Peak fitting and removal. |
|
Specifics for time-of-flight neutron-scattering data reduction, including coordinate transformations. |