Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[NEW FEATURE] Fourth-order moments

Aperta
#697 0 commenti 0 reazioni 2 assegnatari Vedi su GitHub

@sachaguer ci sta già lavorando.

Dal 12/5/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Python
Stelle
18
Fork
14
Merge medio
8h 40m
PR unite (30g)
10

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CosmoStat/shapepipe

Tutte le issue di CosmoStat/shapepipe

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.