Skip to content

[BUG]: Systematic lattitude-issue with PSD_monitor_4PI, found by BSc. student Christian Thyssen NBI. #2537

Description

@willend

Describe the bug
For his project, KU BSc. student Christian Thyssen on optimising V-calibration sample geometry for CAMEA, lots of validation work was done. In the process an asymmetry in northern vs. southern hemisphere in PSD_monitor_4PI was found.

Document steps to reproduce the bug
Spherical_4PI.instr.txt
Run the attached simplistic instrument, comparing Monitor_nD and PSD_monitor_4PI output, including a 3rd. monitor that subtracts one from the other. An asymmetry is clearly seen: Too much intensity at the north pole, too little at the south pole - and bins do not end up agreeing with Monitor_nD.

Image

The cause is the nonsensical +0.5 in the calculation of latitude

Fix
Removing the above-mentioned 0.5 lets the two monitors agree - apart from a minor discrepancy at the poles (it seems Monitor_nD looses direct up/down neutrons.)
Image

Fixed comp - going to main shortly:
PSD_monitor_4PI.comp.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions