[ESSSPECTROSCOPY] `EnergyQDetector` drops `final_energy`
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
Research direction
Start in ess/spectroscopy/indirect/conversion.py at add_inelastic_coordinates and check which coordinates transform_coords retains when keep_inputs=False. Compare the resulting EnergyQDetector coordinates with those available from NormalizedIncidentEnergyDetector. Done when the detector retains the needed final energy data per element for resolution calculations; the issue suggests retaining final_energy, final_wavevector, and incident_beam alongside a3 and a4.
Written by the indexing model from the issue text.
Description
add_inelastic_coordinates (ess/spectroscopy/indirect/conversion.py) calls transform_coords(..., keep_inputs=False) and keeps only a3 and a4 by name. So final_energy, final_wavevector and incident_beam, which NormalizedIncidentEnergyDetector has, are missing from EnergyQDetector. A resolution calculation needs E_f per detector element, and it can't be recovered from the events.
Suggestion: keep 'final_energy' (and 'final_wavevector', 'incident_beam') beside 'a3' and 'a4'.
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
-
essreduce
Difficulty 2/5 1-3 hours Newbie friendliness 68/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