Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

cosmo_val: pair-count shape noise in the OneCovariance covariance

未关闭
#431 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@cailmdaley 已经在做这个了。

开始于 2026年10月26日。

  • #432 来自 @cailmdaley —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
15/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
analytics

调研方向

The analytic shape-noise path is the covariance.shape_noise option, with analytic keeping the old behaviour; the pair-count alternative is cached per covariance grid and passed to OneCovariance as npair_mm_file. Work is already underway on branch cosmo-val-paircount-noise with draft PR #432, so coordinate there first. Done means the ordered-count normalisation matches V_b = 2 s⁴Q_b/W_b² and the test suite passes.

由索引模型根据 Issue 内容生成。

描述

OneCovariance's uniform-area shape noise is 14–19% below measured-pair noise across 12–83′ on the full 2075.3 deg² blinded v2 sample.
Draft PR #432 implements the default correction on branch cosmo-val-paircount-noise.
The pilot's fixed-cut COSEBIs B PTE had changed from 0.00502 to 0.0581 under the same noise-only test; the full-area comparison is below.

For unordered pairs, W_b = Σ w_i w_j and Q_b = Σ (w_i w_j)² give V_b = 2 s⁴Q_b/W_b², where s is the per-component dispersion.
OneCovariance accepts [tabulated inputs files] npair_mm_file and uses ordered counts, so supply 2 W_b²/Q_b at nominal geometric centres.
Its 4 s⁴/N_ordered then equals V_b; the total RMS is √2 s, and mixing the conventions gives a factor of four.
The workflow caches positions/weights-only NN counts on each covariance grid, with covariance.shape_noise: analytic retaining the old path.

Full-area controlled substitution

Only the analytic ξ shape-noise diagonal is replaced; cached B vectors and all other covariance terms stay fixed.
This is not a fresh full-area OneCovariance run.
The analytic/pair noise ratio across 12–83′ is 0.80879–0.85565, median 0.83931.
Measured W matches the cached integration-ξ pair metadata to maximum relative difference 1.13×10⁻¹³.

Fixed 12–83′ statistic dof Analytic-noise PTE Pair-noise PTE
COSEBIs B, 20 modes 20 0.43798 0.64339
Pure-B ξ₊ 7 0.34732 0.48005
Pure-B ξ₋ 7 0.071519 0.12853
Pure-B combined 14 0.15656 0.29359

No E-mode χ²/PTE or cosmological inference was computed.
The correction includes observed selection/weight variation as well as boundaries; mixed/sample-variance mask effects and catalogue scientific acceptance remain separate questions.

Slurm 25030338 passed 26 tests, 2 site-dependent skips, plus real OneCovariance analytic/tabulated noise-only normalization probes.
The full pair measurement was job 25028179 (24 CPUs, 128000 MB); B-only propagation was 25028544 (4 CPUs, 16 GiB), both in the specified container.

Figures are local, not source-branch assets; hosting/embedding is left to the orchestrator:

  • /scratch/cdaley/cosmo-val-v2/pairnoise/noise-ratio-full-vs-pilot.png
  • /scratch/cdaley/cosmo-val-v2/pairnoise/bmode-ptes-full.png

That directory also holds the self-contained report.html, numerical JSON/CSV, scripts, logs and REPRODUCE.md.
No changes to blinding, run/, latest/, production or #430's branch.

— AI assistant on behalf of Cail.

🤖 Generated with Claude Code

主要语言
Python
星标
2
派生
5
平均合并
23 小时 45 分钟
30 天内合并 PR
30

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CosmoStat/sp_validation 的其他 Issue

查看 CosmoStat/sp_validation 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。