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.

version: 0.2.3

(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.5.tar.gz (35.4 kB view hashes)

Uploaded Source

Built Distribution

astroplotlib-0.2.5-py3-none-any.whl (39.6 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