Skip to main content

alt text

Overview

Python scripts to analyze the morphology of isolated and interacting galaxies.

The package is designed to automatically download imaging data from:

The library also includes functionality to perform photometric modeling using simulated galaxy images, allowing controlled experiments and validation of morphological measurements.

There are functions to:

  • Calculate a 2D sky background of the images
  • Generate deblended segmentation maps of interacting systems with merger isophotes
  • Perform non-parametric morphological analysis using the statmorph package.

Users can also study the environment of an object/system by downloading a list of galaxies within the Field-of-View of S-PLUS/Legacy images from the SIMBAD server (http://simbad.u-strasbg.fr/simbad/).

In addition, the package includes a function to display DSS2 images (http://alasky.u-strasbg.fr/hips-image-services/hips2fits) of any size.

:sparkles: Website: https://gitlab.com/joseaher/astromorphlib

Documentation

The documentation is available at https://astromorphlib.readthedocs.io

Installation

:sparkles: The latest version (08/06/2026) of astromorphlib is 1.0.14

Requirements

"astromorphlib" requires to run the following packages:

* statmorph
* splusdata
* astro-datalab
* astroplotlib
* astropy
* astroquery
* photutils (1.5.0 <)**
* numpy
* scipy
* matplotlib
* wget

** to install this specific version of photutils you can try:

% pip install photutils==1.5.0

This version can be easily installed via PyPI (https://pypi.org/project/astromorphlib/):

% pip install astromorphlib

If you prefer to install "astromorphlib" manually, you can clone the developing version at https://gitlab.com/joseaher/astromorphlib. In the directory this README is in, simply type:

% pip install .

or,

% python setup.py install

Uninstallation

To uninstall "astromorphlib", just type:

% pip uninstall astromorphlib

Publications

Authors

Acknowledgements

This software was funded partially by Brazilian agency FAPESP, process number 2021/08920-8.

Citing

If you use this code for a scientific publication, please cite Hernandez-Jimenez & Krabbe et al. (2022) and Krabbe & Hernandez-Jimenez et al. (2024). The BibTeX entries for this package are:

@MISC{hernandez_jimenez_2022,
  author       = {Hernandez-Jimenez, J. A. and
                  Krabbe, A. C.},
  title        = {{Astromorphlib: Python scripts to analyze the
                   morphology of isolated and interacting galaxies}},
  month        = jul,
  year         = 2022,
  publisher    = {Zenodo},
  version      = {0.2},
  url          = {https://doi.org/10.5281/zenodo.6940848},
  doi          = {10.5281/zenodo.6940848}
}

@ARTICLE{2024MNRAS.528.1125K,
       author = {{Krabbe}, A.~C. and {Hernandez-Jimenez}, J.~A. and {Mendes de Oliveira}, C. and {Jaffe}, Y.~L. and {Oliveira}, C.~B. and {Cardoso}, N.~M. and {Smith Castelli}, A.~V. and {Dors}, O.~L. and {Cortesi}, A. and {Crossett}, J.~P.},
        title = "{Diagnostic diagrams for ram pressure stripped candidates}",
      journal = {\mnras},
     keywords = {galaxies: clusters: general, galaxies: clusters: intracluster medium, galaxies: evolution, galaxies: interactions, galaxies: irregular, galaxies: structure, Astrophysics - Astrophysics of Galaxies},
         year = 2024,
        month = feb,
       volume = {528},
       number = {2},
        pages = {1125-1141},
          doi = {10.1093/mnras/stad3881},
archivePrefix = {arXiv},
       eprint = {2312.09220},
 primaryClass = {astro-ph.GA},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2024MNRAS.528.1125K},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

Metadata

Release files for astromorphlib 1.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astromorphlib 1.0.14
File Size Uploaded Provenance
astromorphlib-1.0.14.tar.gz 20.4 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for astromorphlib 1.0.14
File Interpreter ABI Platform
astromorphlib-1.0.14-py3-none-any.whl Python 3 none any Details

Total release size: 20.7 MB

Release files / astromorphlib-1.0.14.tar.gz

Download URL astromorphlib-1.0.14.tar.gz
Size 20.4 MB
Tags Source
SHA-256 checksum
How to use checksums
b04bbacc23c19ef0a807e1ed1adb6811da82b085f0d208077ec1b976b12ff899
BLAKE2b-256 checksum
How to use checksums
d7a95fa6eba72510643b806a5011c0505d53f7b367a61cd647acc1173a80898d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release files / astromorphlib-1.0.14-py3-none-any.whl

Download URL astromorphlib-1.0.14-py3-none-any.whl
Size 320.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06412d42dc9c3dad32b9d9057624c6f2a560ec1e78c9cf7f4723af5e89f1b01c
BLAKE2b-256 checksum
How to use checksums
90f1f327eff2404513c609e8bc1f8eeef9d30c814cf1e69c9dfd8c567c2e5ae5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Security for astromorphlib 1.0.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.14 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page