Skip to main content

Brute-force Bayesian inference for photometric distances, reddenings, and stellar properties

Project description

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.

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

astro_brutus-1.1.0.tar.gz (150.1 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.1.0-py3-none-any.whl (169.2 kB view details)

Uploaded Python 3

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

Hashes for astro_brutus-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ed1b9b9a99f2fc4a9b9a4e285e4153af3b3199e58c84d31ec72f73cfb264ac21
MD5 f915abe5186f87db24176006a9bf87e8
BLAKE2b-256 a84d98fde72f1c1e839002cd88ee0bd1fb3b127ad83c89cc7b87da75d7656e23

See more details on using hashes here.

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

Hashes for astro_brutus-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31cf3ba417b7686f3be66d319b7533027b8f898d18c6ffb94e23599cadd87e18
MD5 eee028c8e08ad218e75c8e620063a7a2
BLAKE2b-256 d96d945d012bb3bd953d5914572851923917d132512c63e58a6a3a1247ec0a13

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