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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astro_brutus-1.2.0.tar.gz (188.9 kB view details)

Uploaded Source

Built Distribution

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

astro_brutus-1.2.0-py3-none-any.whl (203.0 kB view details)

Uploaded Python 3

File details

Details for the file astro_brutus-1.2.0.tar.gz.

File metadata

  • Download URL: astro_brutus-1.2.0.tar.gz
  • Upload date:
  • Size: 188.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for astro_brutus-1.2.0.tar.gz
Algorithm Hash digest
SHA256 950ebec13839ada3c7d6109e532bdfd86d8f4021de9e5c78e24106fda534272c
MD5 e58959f8ae24f7467b15250d08f4fbb4
BLAKE2b-256 c8c0c62867f19a983382065828e0cd6e5a1363854bd866dddae08211bd46370e

See more details on using hashes here.

File details

Details for the file astro_brutus-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: astro_brutus-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 203.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for astro_brutus-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6d33aacc0a4537d2d29203cc78bca00b88b6886d5adc5242d9b4ee7abe14c21
MD5 7a28ba52515006ab279a04399e5bcadd
BLAKE2b-256 d50fa9314f5b3b748b1b9eff7e1cea51c9f77adb7afca1c1cf28213d8c346607

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 files

1.1.0

2 files

0.8.2

1 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