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

library reorganization

Abierto
#46 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
15/100
Tipo de issue
Refactorización
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
tooling

Línea de trabajo

Comienza trazando las importaciones y los usos en calibration.py, basic.py, metacal.py, ellipticity.py, stats.py, io.py, util.py, survey.py, galaxy.py, catalog.py y en el código de cosmología y cúmulos de galaxias. Resuelve las cuestiones estructurales abiertas con los maintainers, define después la disposición de módulos acordada y verifica que la funcionalidad existente siga estando disponible tras la reorganización.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

clean-up

I went through the library. I will put a first pass at some changes I think we should make to the global structure in this issue.

  1. calibration.py should perform local and global metacal calibration
  2. let's move the metacal class out of basic.py into a separate metacal.py and get rid of basic.py completely
  3. add an ellipticity.py that switches between e1, e2, and e_t, e_x, as well as between different ellipticity conventions, this will help with handling different input catalogs
  4. stats.py will handle all of the stats functions in basic.py
  5. should the metacal class interact directly with catalogs? i feel like some of this should go into io.py
  6. util.py should be split into binning functions and vos functions
  7. survey.py has to do with the footprint, should we combine this with galaxy.py? at any rate, galaxy.py must be renamed. also, the conversion between fwhm and sigma belongs in stats
  8. it makes sense to group all cosmology things in one place, but i think there needs to be a further separation of the theory and data functionality.
  9. galaxy cluster functions needs to be together
  10. catalog.py again is a mix of stats and io, though it does perform a number of initial sanity checks. maybe we should rename it to cat_quick_check or something along those lines?

comments welcome- I'm sure I didn't consider every use case, so there are probably adaptations of the above that will make more sense.

Lenguaje dominante
Python
Estrellas
2
Forks
5
Merge medio
14 h 50 min
PR fusionados (30 d)
27

Preparar el entorno

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/sp_validation

Todos los issues de CosmoStat/sp_validation

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.