Skip to main content

Astro data analysis and plotting package

Project description

 /$$    /$$ /$$                               /$$  /$$$$$$              /$$                        
| $$   | $$|__/                              | $$ /$$__  $$            | $$                        
| $$   | $$ /$$  /$$$$$$$ /$$   /$$  /$$$$$$ | $$| $$  \ $$  /$$$$$$$ /$$$$$$    /$$$$$$   /$$$$$$ 
|  $$ / $$/| $$ /$$_____/| $$  | $$ |____  $$| $$| $$$$$$$$ /$$_____/|_  $$_/   /$$__  $$ /$$__  $$
 \  $$ $$/ | $$|  $$$$$$ | $$  | $$  /$$$$$$$| $$| $$__  $$|  $$$$$$   | $$    | $$  \__/| $$  \ $$
  \  $$$/  | $$ \____  $$| $$  | $$ /$$__  $$| $$| $$  | $$ \____  $$  | $$ /$$| $$      | $$  | $$
   \  $/   | $$ /$$$$$$$/|  $$$$$$/|  $$$$$$$| $$| $$  | $$ /$$$$$$$/  |  $$$$/| $$      |  $$$$$$/
    \_/    |__/|_______/  \______/  \_______/|__/|__/  |__/|_______/    \___/  |__/       \______/ 

VisualAstro

visualastro is an astrophysical visualization system with convenient functions for easy visualization of common astronomical data. The package is developed with ease of use in mind, and making publication ready plots.

Installation

PyPI Version

Currently, the most stable version of python for visualastro is version 3.11. To install visualastro, it is advised to create a new conda environment if possible:

$ conda create envname -c conda-forge python=3.11
$ conda activate envname

Then install the dependencies with:

$ conda install -c conda-forge astropy dust_extinction matplotlib numpy regions reproject scipy spectral-cube specutils tqdm

And finally run:

$ pip install visualastro

Compatible Data

  • 2D images
  • 3D spectral cubes
  • 1D spectra with gaussian fitting tools

Features

  • Simple, high-level wrapper functions for common astrophysical plots
  • Custom matplotlib style sheets optimized for publication-quality figures
  • Full compatibility with WCS, FITS

Documentation

The full documentation can be found on github at https://github.com/elkogerville/VisualAstro

Dependencies

VisualAstro requires: astropy, matplotlib, scipy, numba, regions, reproject, spectral-cube, specutils, and tqdm.

Credits

Fonts

VisualAstro includes Hershey-style TrueType fonts from the smplotlib project by Jiaxuan Li, used under the MIT License. Citation:

@software{jiaxuan_li_2023_8126529, author = {Jiaxuan Li}, title = {AstroJacobLi/smplotlib: v0.0.9}, month = jul, year = 2023, publisher = {Zenodo}, version = {v0.0.9}, doi = {10.5281/zenodo.8126529}, url = {https://doi.org/10.5281/zenodo.8126529}, }

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

visualastro-0.1.2.tar.gz (152.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

visualastro-0.1.2-py3-none-any.whl (164.7 kB view details)

Uploaded Python 3

File details

Details for the file visualastro-0.1.2.tar.gz.

File metadata

  • Download URL: visualastro-0.1.2.tar.gz
  • Upload date:
  • Size: 152.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for visualastro-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bd913090a5b136788a1f02417026f4da6c37d5d454bfa5c483257b97887d69e8
MD5 9eb63cfc4323ed29c478588525147213
BLAKE2b-256 882ea6df9cfd086792ed208e090d8f192580fe98753ef636f11a9f05fe855b05

See more details on using hashes here.

File details

Details for the file visualastro-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: visualastro-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 164.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for visualastro-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b6635827b2e9ff28ad0125a51a5b91a4a7e1cdce951d50fbe4154c3e0a2bb31d
MD5 cde7d8103a2c17eefa508c97d73a3057
BLAKE2b-256 e2dad4a74d5dfe8186116b3db012c652ce7cb834884af3a9b8915b110b34f221

See more details on using hashes here.

Supported by

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