Cross section normalisation for single crystal experiments
@jl-wynen is already working on this.
Since May 19, 2026.
- Dominant language
- Python
- Stars
- 6
- Forks
- 4
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 5
Description
Single crystal experiments (diffraction and inelastic) require a special norm to compute a proper cross section. It is implemented by Mantid's MDNorm algorithm and described in https://doi.org/10.1107/S1600576722009645. See equations 11, 12 for the mathematical expression.
We need to implement this in a way that it can be used by as many instruments as possible. This normalisation is part of a user's interactive exploration of the data and needs to be recomputed whenever they change their Q-dE (or hkl-dE) binning. So it should be fairly fast which may require some statically compiled code. But I am not sure about that yet. (Numba may not be enough if we want to parallelise because the different threads would have to write to the same array which requires synchronisation; probably atomics for efficiency.)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.