Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Object-wise PSF-leakage correction zeros the same-object slope, not angular leakage; on v2 it raises τ0 by 52%

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

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

@cailmdaley がすでに取り組んでいます。

2026年10月27日 から。

  • #434 @cailmdaley による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
8/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
python

調査の方向性

The entry point is compute_PSF_leakage and the correction e_leak_corrected = e − α p, which fits α per SNR × size bin from the same-object galaxy–PSF slope. The payload does not name specific test files. Done would require a fit that targets angular leakage, validated on held-out stars, with per-bin α, errors and the global scalar persisted to the catalogue. This is design work and not a first-timer task.

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

説明

The object-wise PSF-leakage correction (compute_PSF_leakage → e_leak_corrected = e − α p) fits α from the same-object galaxy–PSF slope in SNR × size bins. Angular leakage is measured by ρ/τ at finite separation. These are different quantities, and on v2 they disagree in sign:

  • same-object slope (global scalar): −0.0030
  • the scalar that would zero first-bin τ0: +0.0058

So on v2, e_leak_corrected raises first-bin τ0 by 52% (5.25e-6 → 8.00e-6); on v1.4.6.3 it lowered τ0 by 59%. A perfect global same-object correction predicts the same 8.00e-6. The implementation itself checks out: the columns reconstruct to 4.6e-14, and the sign convention against stellar models is correct. Mechanism (verified): the same-object slope is a zero-lag mixture, α − β·Cov(p,δp)/Var(p) + η·Cov(p,q)/Var(p), where δp is the PSF ellipticity model error and q = p·δT_PSF/T_PSF the size-error term. The angular α, β, η, together with covariances from held-out stars, reproduce the measured slope: v2 −0.00310 predicted vs −0.00303 measured; v1.4.6.3 +0.0185 vs +0.0164. The size-error term is about −0.010 in both versions. v2's α is 2.5× smaller than v1.4.6.3's, so the sum turns negative. A per-object fit therefore can't isolate α, and a corrected v2 fiducial needs a fit that targets angular leakage.

Consequence: for v2, the _leak_corr columns are not a validated fiducial, so raw E is the reference.

Proposed:

  • make the target of compute_PSF_leakage explicit (object-wise vs angular on declared scales), and validate a correction on held-out stars before treating it as fiducial;
  • persist the fit diagnostics (per-bin α, errors, global scalar) with the catalogue;
  • label these columns as object-wise corrections in headers and docs.

Related: #382 (the trend-fit 1/σ⁴ weighting, negligible here at 5e-10), #413 (full a_ij / spin components).

Claude (Opus 5.5) on behalf of Cail

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

環境構築

はじめの一歩

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

CosmoStat/sp_validation のほかの issue

CosmoStat/sp_validation の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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