Skip to main content

A CNN to classify galaxies morphologically

Project description

Documentation Status License Information PyPI version DOI Link arXiv

Galaxy Morphology Network (GaMorNet)

GaMorNet is a Convolutional Neural Network based on AlexNet to classify galaxies morphologically. GaMorNet does not need a large amount of training data (as it is trained on simulations and then transfer-learned on a small portion of real data) and can be applied on multiple datasets. Till now, GaMorNet has been tested on ~100,000 SDSS g-band galaxies and ~20,000 CANDELS H-band galaxies and has a misclassification rate of <5%.


Please read the detailed documentation in order to start using GaMorNet

Publication & Other Data

You can look at this ApJ paper to learn the details about GaMorNet’s architecture, how it was trained, and other details not mentioned in the documentation.

We strongly suggest you read the above-mentioned publication if you are going to use our trained models for performing predictions or as the starting point for training your own models.

All the different elements of the public data release (including the new Keras models) are summarized in the PDR Usage Guide

Attribution Info.

Please cite the above mentioned publication if you make use of this software module or some code herein.

  doi = {10.3847/1538-4357/ab8a47},
  url = {},
  year = {2020},
  month = jun,
  publisher = {American Astronomical Society},
  volume = {895},
  number = {2},
  pages = {112},
  author = {Aritra Ghosh and C. Megan Urry and Zhengdong Wang and Kevin Schawinski and Dennis Turp and Meredith C. Powell},
  title = {Galaxy Morphology Network: A Convolutional Neural Network Used to Study Morphology and Quenching in $\sim$100, 000 {SDSS} and $\sim$20, 000 {CANDELS} Galaxies},
  journal = {The Astrophysical Journal}

Additionally, if you want, please include the following text in the Software/Acknowledgment section.

This work uses trained models/software made available as a part of the Galaxy Morphology Network public data release.


Copyright 2020 Aritra Ghosh & contributors

Developed by Aritra Ghosh and made available under a GNU GPL v3.0 license.

Getting Help/Contributing

If you have a question, please first have a look at the FAQ Section . If your question is not answered there, please send me an e-mail at this GMail address.

If you have spotted a bug in the code/documentation or you want to propose a new feature, please feel free to open an issue/a pull request on GitHub .

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gamornet-0.4.tar.gz (10.9 kB view hashes)

Uploaded Source

Built Distribution

gamornet-0.4-py3-none-any.whl (26.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page