[ESSSPECTROSCOPY] Whether k_f/k_i is left in depends on the monitor, and nothing records which; `to_nxspe` can't be imported
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with ess/spectroscopy/indirect/io.py, especially _to_one_nxspe and the import of .conservation, then trace how NormalizedIncidentEnergyDetector is created and how its monitor is represented. Check the listed dependency versions and reproduce the missing-module error and scaling behavior for ideal and 1/v monitors. Done when monitor efficiency is recorded and the scaling factor and flag are applied only when appropriate.
索引モデルが issue の本文から書いたものです。
説明
The rate scattered per incident neutron is (k_f/k_i)·S. Dividing by the monitor distribution leaves (k_f/k_i)·S behind an ideal monitor (every simulated file) and k_f·S behind a 1/v monitor (the real instrument). Nothing on NormalizedIncidentEnergyDetector says which.
ess/spectroscopy/indirect/io.py _to_one_nxspe always multiplies by √(E_i/E_f) (line 83) and writes ki_over_kf_scaling = True (line 156). That is right behind an ideal monitor and over-corrects behind a 1/v one. It also can't run: line 79 imports .conservation, which isn't shipped (ModuleNotFoundError).
Suggestion: record the monitor's efficiency on the container, and apply the factor (and set the flag) only where it is left in.
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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
scipp/ess のほかの issue
-
essreduce
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 1 日以内に返信
-
[ESSSPECTROSCOPY] The containers don't record the vertical axis used for the sample-table rotationオープンessspectroscopy
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
essspectroscopy
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
essspectroscopy
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
[essreduce] A chopper with no `beam_position` is silently placed at 0°対応中かも @TTsangSC が 2 日前に担当しました。 オープンessreduce
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
scipp/ess#923 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
Test: to_hijri() accepts datetime.datetime and uses only the date part対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンgood first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
omarelshamy25x/shamy-hijri#63 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
polish
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scores対応中かも @AshutoshSingh840 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
UKGovernmentBEIS/control-arena#992 ·
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
mvalentsev/awesome-free-ai-coding#70 ·
メンテナーはふだん 1 日以内に返信