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

[NEW FEATURE] Fourth-order moments

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

@sachaguer 已经在做这个了。

开始于 2025年5月12日。

评估

这个 Issue 还没有评估数据。

描述

enhancement

Implement fourth-order moments for PSF diagnostics (PSFHOME-style; useful for PSF-leakage systematics in DES/HSC).

Current state. No higher-order-moment code exists on develop. PR #698 (branch moment4) implemented this in psfex_interp.py (_get_psfshapes / _get_starshapes): whiten the pixel grid with the inverse-sqrt second-moment matrix, compute the centered p+q=4 moments, store the spin-2 combinations M40 − M04 and 2(M13 + M31) as M_4_{PSF,STAR}_{1,2}. That branch is now ~435 commits behind develop and predates the HSM column-grammar refactor.

Plan. Implement as a follow-up on top of #812 (sky-coords HSM), which rewrites the same two functions. Measuring in sky coordinates removes the pixel→sky rotation the old code would need. Deliverables:

  • spin-2 fourth-moment combinations (port the #698 math onto the sky-coords frame; the whitening matrix must be built from the sky-frame moments),
  • galsim's spin-0 moments_rho4 (already computed by FindAdaptiveMom, currently discarded),
  • tests for both.

#698 is kept open as reference for the original implementation; the new work supersedes it.

主要语言
Python
星标
18
派生
14
平均合并
8 小时 40 分钟
30 天内合并 PR
10

贡献指南

打开贡献指南

从这里开始

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

CosmoStat/shapepipe 的其他 Issue

查看 CosmoStat/shapepipe 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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