_ccl_to_camb drops the neutrino mass
評価
調査の方向性
cs_util/cosmo.py:359 の _ccl_to_camb から始め、σ₈-to-A_s 変換の前に camb_params がどのように組み立てられているかを確認します。CAMB バックエンドがデフォルト以外の m_nu 値に応答することを示すテストを追加し、既存の変換が更新されたパラメータセットを引き続き使用していることを検証します。
索引モデルが issue の本文から書いたものです。
説明
cosmo._ccl_to_camb (develop e14cd68, cs_util/cosmo.py:359) builds the CAMB parameters from H0, ω_b, ω_c, n_s, A_s (or σ₈ converted to A_s), w and wa, but never passes m_nu. So a CCL cosmology with, say, m_nu=0.3 gets CAMB's default 0.06 eV on the CAMB backend of get_theo_c_ell. The σ₈→A_s conversion runs on that same neutrino-free parameter set.
Measured with sp_validation's iNKA fiducial (Gaussian n(z) at z=0.7), CAMB/CCL − 1 at ℓ = 1000:
- −4.3% with Planck defaults, where the gap is mostly CAMB's mead2020 vs CCL's halofit, which is a model choice;
- −8.5% with m_nu = 0.3, where the extra gap is the dropped neutrino mass.
Fix: pass mnu=cosmo["m_nu"] (summed, if CCL holds it per species) into camb_params before the σ₈ conversion, and add a test that the CAMB backend responds to m_nu.
Found while merging develop into sp_validation's tomography branch (CosmoStat/sp_validation#374), where the iNKA covariance fiducial uses the CAMB backend.
— Claude Opus 5.5 on behalf of Cail
- 主要言語
- Python
- スター
- 0
- フォーク
- 2
- 平均マージ
- 4時間 15分
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CosmoStat/cs_util のほかの issue
-
Dependency Dashboardオープン
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
-
Canonical survey area & effective number density helpers (dedupe sp_validation / shear_psf_leakage)オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
update argument parser再び着手できるかも @martinkilbinger が 111 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
CosmoStat/cs_util の issue をすべて見る
似ている issue
-
debt
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoft/vscode-flake8#601 ·
メンテナーはふだん 1 日以内に返信
-
nonews refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Uninett/nav#4255 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
namespace operations
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
EclipseFdn/open-vsx.org#14421 ·
メンテナーはふだん 1 日以内に返信
-
untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ubuntu/ubuntu-project-docs#850 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信