Skip to main content

brutus

Et tu, Brute?

brutus logo

Tests Coverage Documentation Status PyPI arXiv License: MIT

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

Acknowledgments

brutus uses MIST stellar evolution models and Bayestar dust maps. We thank the developers for making their data publicly available.

Metadata

Release files for astro-brutus 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astro-brutus 1.1.0
File Size Uploaded
astro_brutus-1.1.0.tar.gz 150.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for astro-brutus 1.1.0
File Interpreter ABI Platform
astro_brutus-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 319.3 kB

Release files / astro_brutus-1.1.0.tar.gz

Download URL astro_brutus-1.1.0.tar.gz
Size 150.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ed1b9b9a99f2fc4a9b9a4e285e4153af3b3199e58c84d31ec72f73cfb264ac21
BLAKE2b-256 checksum
How to use checksums
a84d98fde72f1c1e839002cd88ee0bd1fb3b127ad83c89cc7b87da75d7656e23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / astro_brutus-1.1.0-py3-none-any.whl

Download URL astro_brutus-1.1.0-py3-none-any.whl
Size 169.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31cf3ba417b7686f3be66d319b7533027b8f898d18c6ffb94e23599cadd87e18
BLAKE2b-256 checksum
How to use checksums
d96d945d012bb3bd953d5914572851923917d132512c63e58a6a3a1247ec0a13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release history Release notifications | RSS feed

1.2.0

2 release files

This release

1.1.0 This release

2 release files

0.8.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page