Skip to main content

Astro data analysis and plotting package

Project description

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

VisualAstro

PyPI Version Tests

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

Installation

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

$ conda create visualastro -c conda-forge python=3.14
$ conda activate visualastro

Then install the dependencies with:

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

For additional interactive functionality inside of jupyter lab:

$ conda install -c conda-forge ipympl ipywidgets jupyterlab

For classic jupyter notebook users:

$ conda install -c conda-forge ipympl ipywidgets notebook jupyter_server notebook-shim

And finally run:

$ pip install visualastro

NOTE: To ensure that interactive mode works in notebooks, first activate your conda environment and then run jupyter notebook!

Features

  • Unified interface for matplotlib, astropy, numpy, spectral-cube, specutils, and other astronomy packages
  • High-level wrappers of common functions and algorithms used in astrophysical research
  • Custom matplotlib style sheets optimized for publication-quality figures
  • Full compatibility with WCS, FITS, and astropy units

Documentation

Visualastro is still under development! A full documentation of the package's features is coming soon.

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

Dependencies

VisualAstro requires:

astropy, colorspacious, dust_extinction, matplotlib, numpy, regions, reproject, spectral-cube, specutils, scipy, tol_colors, 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.5.tar.gz (304.8 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.5-py3-none-any.whl (329.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: visualastro-0.1.5.tar.gz
  • Upload date:
  • Size: 304.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for visualastro-0.1.5.tar.gz
Algorithm Hash digest
SHA256 b97d5acbfa7c38b69782983908c4b45d2f65b3f3feff095a2807b1b32f627c4d
MD5 c5e98d2e8337830d174b329f30be9e4d
BLAKE2b-256 d38589e48188960a6ecc5d26331086ae3f56849160e07a64bdad6238684c9993

See more details on using hashes here.

File details

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

File metadata

  • Download URL: visualastro-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 329.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for visualastro-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 37d47a90302b901c4226a1335460d67a53cc1bb7c0f6384c3450442e45b0e832
MD5 ad36f8277b28fbed7cd6a4249c11a2e8
BLAKE2b-256 e65aea1ed616fc384737b34707665f1f577d604fa5ff5354977c3142e9609969

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