[ESSSPECTROSCOPY] `save_sqw` histograms per-wavelength-normalised events in equal energy bins

Aperta
#928 4 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 tracing normalize_by_monitor_and_proton_charge, save_sqw, and EnergyBins, then inspect how the ESSspectroscopy workflow handles vanadium normalization. Compare a flat scatterer’s output across the stated energy band and check whether wavelength binning or per-cell wavelength-range division removes the slope. Done means the equal-energy-bin output no longer shows this wavelength-coverage bias.

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

Descrizione

essspectroscopy

normalize_by_monitor_and_proton_charge divides events by the monitor distribution per unit wavelength, so a cell's sum scales with the wavelength range it covers. save_sqw bins in equal incident-energy steps (EnergyBins). Since dλ/dE ∝ E^(-3/2), across the band of simulated_elastic_incoherent_with_phonon() (4.6–13.3 meV) the low-energy cells cover about 5× the wavelength of the high-energy ones, so a flat scatterer comes out sloped in the image. A vanadium divided cell by cell cancels it; one divided per detector does not.

Suggestion: bin in wavelength, or divide each cell by the wavelength range it covers.

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.