Skip to content
Galamo

Galamo

Galamo is an open-source Python package for comprehensive galaxy analysis, integrating machine learning and statistical methods.

Created on 19th April 2025

•

Galamo

Galamo

Galamo is an open-source Python package for comprehensive galaxy analysis, integrating machine learning and statistical methods.

The problem Galamo solves

With the astronomical community handling increasingly large datasets from advanced surveys like SDSS, Pan-STARRS, and LSST, there is a growing need for automated, scalable, and integrated tools for galaxy analysis. Traditional methods of morphological classification, low-light image processing, and spectral diagnostics are labor-intensive, error-prone, and inconsistent. GALAMO is a comprehensive Python package designed to solve these challenges efficiently. Built around three key modules (however there are 7 total modules) -> galaxy_morph, psr, and bpt, GALAMO provides an end-to-end solution for galaxy classification, enhancement, and spectral interpretation.

  1. galaxy_morph: Galaxy Morphological Classification
    Manual galaxy classification, even with the help of citizen science platforms like Galaxy Zoo, is subject to human error, bias, and inefficiency. galaxy_morph uses a deep learning model trained on extensive labeled datasets to classify galaxy morphologies with 98% accuracy. Now researchers can classify galaxies into 36 labels.

  2. psr: Low-Light Image Enhancement
    Faint galaxy/lunar surface images suffer from noise and lack of contrast, especially in deep-field observations or data from small telescopes. Standard enhancement tools often distort the astrophysical features of interest.

What it solves:
Enhances faint structures without compromising physical authenticity.
Enables better downstream analysis like segmentation and photometry.
The PSR model is optimized specifically for astronomy, aiding researchers in analyzing and interpreting difficult-to-see galaxies/lunar surfaces.

  1. bpt: Spectral Classification via BPT Diagrams
    Standard spectral classification of galaxies into star forming, active galactic nuclie and its subtype requires hundereds of lines of code, but with galamo now scientist can focus more on research than debugging the code just in 2-3 lines of code.

there are many other astronomy calculations feature in the galamo.

Challenges we ran into

Publishing galamo as a python modules and showing the initial work to head of science of IUCAA and CUHP was really challenging and tough. However after some hustle we get a positive response from every side.

Tracks Applied (1)

AI/ML

Some of the top features powered by machine learning include galaxy_morph and psr, both developed and trained using powe...Read More

Discussion

Builders also viewed

See more projects on Devfolio