[ESSSPECTROSCOPY] Normalised intensity changes with the chopper setting

オープン
#930 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
data

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
3
フォーク
6
平均マージ
2日 13時間
マージ済み PR(30日)
35

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

scipp/ess のほかの issue

scipp/ess の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。