Brute-force Bayesian inference for photometric distances, reddenings, and stellar properties
Project description
brutus
Et tu, Brute?
brutus is a Python package for Bayesian inference of stellar properties, distances, and extinctions from photometry. It supports individual star fitting, cluster analysis, and 3D dust mapping.
Documentation: brutus.readthedocs.io
Installation
pip install astro-brutus
Requires Python 3.9+ on Linux, macOS, or Windows with WSL.
Windows users: Due to the healpy dependency, brutus requires WSL (Windows Subsystem for Linux) on Windows.
Development Install
git clone https://github.com/joshspeagle/brutus.git
cd brutus
pip install -e ".[dev]"
Data Files
Download required stellar models and dust maps:
from brutus import fetch_grids, fetch_isos, fetch_dustmaps
fetch_grids() # MIST stellar grids
fetch_isos() # MIST isochrones
fetch_dustmaps() # 3D dust maps
Data files are also available from the Harvard Dataverse.
Citation
If you use brutus, please cite Speagle et al. (2025).
License
MIT License. See LICENSE for details.
Contact
- Author: Joshua S. Speagle (j.speagle@utoronto.ca)
- Issues: GitHub Issues
Acknowledgments
brutus uses MIST stellar evolution models and Bayestar dust maps. We thank the developers for making their data publicly available.
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 astro_brutus-1.1.0.tar.gz.
File metadata
- Download URL: astro_brutus-1.1.0.tar.gz
- Upload date:
- Size: 150.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed1b9b9a99f2fc4a9b9a4e285e4153af3b3199e58c84d31ec72f73cfb264ac21
|
|
| MD5 |
f915abe5186f87db24176006a9bf87e8
|
|
| BLAKE2b-256 |
a84d98fde72f1c1e839002cd88ee0bd1fb3b127ad83c89cc7b87da75d7656e23
|
File details
Details for the file astro_brutus-1.1.0-py3-none-any.whl.
File metadata
- Download URL: astro_brutus-1.1.0-py3-none-any.whl
- Upload date:
- Size: 169.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31cf3ba417b7686f3be66d319b7533027b8f898d18c6ffb94e23599cadd87e18
|
|
| MD5 |
eee028c8e08ad218e75c8e620063a7a2
|
|
| BLAKE2b-256 |
d96d945d012bb3bd953d5914572851923917d132512c63e58a6a3a1247ec0a13
|