Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[NEW FEATURE] Fourth-order moments

Đang mở
#697 0 bình luận 0 reaction 2 người được giao Xem trên GitHub

@sachaguer đang làm issue này rồi.

Từ ngày 12/5/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
Python
Star
18
Fork
14
Merge trung bình
8 giờ 40 phút
Pull request đã merge (30 ngày)
10

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CosmoStat/shapepipe

Tất cả issue của CosmoStat/shapepipe

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.