[essreduce] A chopper with no `beam_position` is silently placed at 0°
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Find to_disk_choppers and trace how it builds chopper data when beam_position is absent; the issue does not name the file or a test. Read the chopper conversion tests and check how they cover missing fields. Done means a missing beam_position raises or warns with the chopper name instead of silently using 0°.
Written by the indexing model from the issue text.
Description
to_disk_choppers builds each chopper from {'beam_position': sc.scalar(0.0, unit='deg'), **chopper}, so a missing beam_position becomes 0° without a warning. NeXus has no default for this field, and it sets when every slit reaches the beam. For a disk whose beam really crosses at 298°, that is most of a turn off. ESS's simulated_elastic_incoherent_with_phonon() logs no beam_position on any chopper.
Suggestion: raise or warn, naming the chopper.
Checked on scipp 26.11.0, scippneutron 26.10.0, essreduce 26.11.1, essspectroscopy 26.11.3.
- Dominant language
- Python
- Stars
- 3
- Forks
- 6
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 36
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from scipp/ess
-
essreduce
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
[ESSSPECTROSCOPY] The containers don't record the vertical axis used for the sample-table rotationOpenessspectroscopy
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
essspectroscopy
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
essspectroscopy
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
essspectroscopy
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
Similar issues
-
[PORT] A2A: map audio file parts to audio content and ignore MIME parameters (TS→Py)Possibly taken A pull request linked to this issue is open or already merged. Openarea-a2a bug port python
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
strands-agents/harness-sdk#6697 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TigreGotico/orthography2ipa#2950 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TigreGotico/text2spoken#929 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Unstructured-IO/unstructured#4876 ·
Maintainers usually reply within 6 days