Skip to main content

Python scripts to handle astronomical images

Project description

astroplotlib

Python scripts to handle astronomical images. It allows the user building images with any scale, overlay contours, and adding physical bars and orientation arrows (N and E axes) automatically (e.g., Hernandez-Jimenez 13, 15). It is possible to overlay pseudo-slits and obtain statistics from apertures (e.g., Dametto, N. Z. et al. 2014). The user can also estimate the background sky of the images (e.g., Buzzo 2021). There is a module to work with the output table from the Ellipse task of IRAF. The user can overlay the fitted isophotes and their respective contours on the image (e.g., Mora et al. 2019, Buzzo et al. 2021, Brito-Silva et al. 2021). The package also has a GUI to mask areas in the images by using different polygons. It is possible to obtain statistical information (e.g, total flux, mean, std, etc.) from the masked areas too. There is also a GUI to overlay star catalogues on the image and an option to download them directly from the Vizier server.

:sparkles: Current version: 0.2.6

(c) 2014-2022 J. A. Hernandez-Jimenez

E-mail: joseaher@gmail.com

Website: https://gitlab.com/joseaher/astroplotlib

Installation

astroplotlib requires:

* numpy
* scipy
* matplotlib
* astropy
* astroquery
* tkinter

This version can be easily installed within Anaconda Enviroment via PyPI:

% pip install astroplotlib

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

% pip install .

or,

% python setup.py install

Uninstallation

To uninstall astroplotlib, simply

% pip uninstall astroplotlib

Citing

If you use this package for a scientific publication, please cite it (Hernandez-Jimenez 2022). The BibTeX entry for this package is:

  @MISC{2022ascl.soft04002H,
        author = {{Hernandez-Jimenez}, Jose A.},
        title = "{Astroplotlib: Python scripts to handle astronomical images}",
        keywords = {Software},
        howpublished = {Astrophysics Source Code Library, record ascl:2204.002},
        year = 2022,
        month = apr,
        eid = {ascl:2204.002},
        pages = {ascl:2204.002},
        archivePrefix = {ascl},
        eprint = {2204.002},
        adsurl = {https://ui.adsabs.harvard.edu/abs/2022ascl.soft04002H},
        adsnote = {Provided by the SAO/NASA Astrophysics Data System}
       }

Acknowledgements

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

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

astroplotlib-0.2.6.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

astroplotlib-0.2.6-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file astroplotlib-0.2.6.tar.gz.

File metadata

  • Download URL: astroplotlib-0.2.6.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for astroplotlib-0.2.6.tar.gz
Algorithm Hash digest
SHA256 c7ceb579baa69c6ce35b0e207e8eb0c6cc5b25f91b14d922c744346247f85605
MD5 92694c2a6f5cc3ce148dca077b6293de
BLAKE2b-256 8871434334ed3d65432c33a6830b82514fac022a5ae3a564354be9e6c324323d

See more details on using hashes here.

File details

Details for the file astroplotlib-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: astroplotlib-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for astroplotlib-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c7fad1cf9fd741f0be987052a66bb9d2d9a5643145c947a3b300f9ad44b41b7f
MD5 c62bed7277110d0e771925b2847fc903
BLAKE2b-256 3e25d467b1ed6a704bf5d36f0860254de102c8cc5670eee017e88da1496ad7fb

See more details on using hashes here.

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