Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[NEW FEATURE] Fourth-order moments

Abierto
#697 0 comentarios 0 reacciones 2 asignados Ver en GitHub

@sachaguer ya está trabajando en esto.

Desde el 12/5/2025.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
Python
Estrellas
18
Forks
14
Merge medio
8 h 40 min
PR fusionados (30 d)
10

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CosmoStat/shapepipe

Todos los issues de CosmoStat/shapepipe

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.