A couple of things jump out
- How we handle the direct beam
- One option would be to assign a fixed proportion of the total intensity (say 50%) into the direct beam
- Another would just be to avoid simulating the direct beam entirely
- Having a "
norm" method (or attribute) would clean up the template matching workflow a little.