Astro data analysis and plotting package
Project description
/$$ /$$ /$$
|__/ | $$ | $$
/$$ /$$ /$$ /$$$$$$ /$$ /$$ /$$$$$ | $$ /$$$$$ /$$$$$ /$$$$$$ /$$$$$ /$$$$$$
| $$ /$$/| $$ /$$____/| $$ | $$ |____ $$| $$ |____ $$ /$$___/|_ $$_/ /$$__ $$ /$$__ $$
\ $$/$$/ | $$| $$$$$ | $$ | $$ /$$$$$$| $$ /$$$$$$| $$$$$ | $$ | $$ \__/| $$ \ $$
\ $$$/ | $$ \___ $$| $$ | $$ /$$__ $$| $$ /$$__ $$ \___ $$ | $$ /$| $$ | $$ | $$
\ $/ | $$ /$$$$$$/| $$$$$/| $$$$$$| $$| $$$$$$ /$$$$$$/ | $$$$| $$ | $$$$$$/
\_/ |__/|______/ \_____/ \______/|__/ \______/|______/ \___/ |__/ \______/
VisualAstro
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file visualastro-0.1.6.tar.gz.
File metadata
- Download URL: visualastro-0.1.6.tar.gz
- Upload date:
- Size: 305.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cc212aa3f8b83f76d8d01ce8b522c0c07cb60bf1d9a9f38f8a79dd83a801900
|
|
| MD5 |
a29d4911eda23f3dc757c0fd489c7d80
|
|
| BLAKE2b-256 |
78718829e0f3e6ecb914bd52441ad9db02c328827ea8896cab39da1e0aa2a140
|
File details
Details for the file visualastro-0.1.6-py3-none-any.whl.
File metadata
- Download URL: visualastro-0.1.6-py3-none-any.whl
- Upload date:
- Size: 330.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb4b0f1d6a635ccb88479046fab28abbbe69c7d3f4415cefafc3579d0593a1f4
|
|
| MD5 |
407f0d52c179ab83cf688676fd0cc994
|
|
| BLAKE2b-256 |
81834a229f369a87b64255312a7d67e77d1c54b53f567d9198daaf896e9344eb
|