[ESSSPECTROSCOPY] Normalised intensity changes with the chopper setting

Aperta
#930 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
data

Direzione di ricerca

Start by locating the ESSSPECTROSCOPY normalization code and its docstring formula; the payload does not name the files or tests. Reproduce the reported scaling with the published simulation and a band cut to 60%, then trace how monitor counts per wavelength, total monitor count, and proton charge enter the normalization. Done when the implementation and documentation agree on the intended normalization and runs at different chopper settings have a consistent scale.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation essspectroscopy

Events are divided by the monitor distribution, monitor / Δλ / sum(monitor), which has unit integral, and by the proton charge. The monitor total drops out. A chopper setting that passes a narrower band gives the same monitor counts per wavelength but a smaller total, so every event comes out smaller by the fraction F of counts inside the narrower band. In a test on the published simulation with the band cut to 60 %, F = 0.70 and the image scaled by exactly that. Runs at different chopper settings combined by proton charge are therefore on different scales. Separately, the docstring formula puts the monitor sum in the denominator, while the code multiplies by it.

Suggestion: normalise by monitor counts per unit wavelength, or record the band's integrated monitor count per unit charge on the container, or at least document it.

Checked on scipp 26.11.0, scippneutron 26.10.0, essreduce 26.11.1, essspectroscopy 26.11.3.

Lingua principale
Python
Stelle
3
Fork
6
Merge medio
2g 13h
PR unite (30g)
35

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di scipp/ess

Tutte le issue di scipp/ess

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.