Skip to main content

BASTA: The BAyesian STellar Algorithm

Code style: black License: MIT Documentation Status arXiv ADS DOI

Current stable version: v1.5.4

Important note: BASTA should work in Python >= 3.10, but we generally recommend using the latest stable version.

Before you begin

Please follow the repository on GitHub to get notifications on new releases: Click "Watch" then "Custom" and tick "Releases.

Please have a look at our documentation.

There we have written a guide guide to installing BASTA.

On there, you will also find an introduction to running BASTA.

If you are curious on what BASTA can do, we have created several fitting examples and the exact code to run them available.

If you have any questions, or encounter any issues, feel free to write to us through the discussions page.

Quick start guide

BASTA can be obtained from GitHub or from the Python Package Index (PyPI); the full details are given in the documentation.

We strongly recommend to create a fresh virtual environment to install BASTA in!

With the virtual environment activated:

pip install basta

or

pip install https://github.com/BASTAcode/BASTA/archive/refs/heads/main.zip

To make the code ready to run you need to download some additional assets: a grid of stellar models and the dustmaps. To complete the setup of the code and download the grid used in most of our examples run the following (feel free to change the paths as you like):

mkdir -p ~/BASTA/grids
mkdir -p ~/BASTA/dust
BASTAdownload --gridpath ~/BASTA/grids --dustpath ~/BASTA/dust 16CygA

Finally, to obtain the full suite of examples run:

cd ~/BASTA
BASTAexamples full

Congratulations! You now have a fully functional installation of BASTA! We strongly recommend looking at the documentation for information on how to use the code.

References and acknowledgments

There are two papers containing the rationale, main features, and capabilities of the code:

Please cite these references if you use BASTA in your work, and include the link to the code's repository https://github.com/BASTAcode/BASTA.

Due to its versatility, BASTA is used in a large variety of studies requiring robust determination of fundamental stellar properties. We have compiled a (non-exhaustive) list of papers using BASTA results that showcases these applications. If your paper using BASTA results is missing from the list please contact us.

Authors

The current core developing team members are:

  • Jakob Lysgaard Rørsted (maintainer)
  • Mark Lykke Winther (co-maintainer)
  • Amalie Stokholm (co-maintainer)
  • Kuldeep Verma

The original author of the code is:

  • Víctor Aguirre Børsen-Koch

Throughout the years, many people have contributed to the addition and development of various parts and modules of BASTA. We welcome further contributions from the community as well as issues reporting. Please look at the contribution section in the documentation for further details.

Listings

In addition to the shields/icons in the top, BASTA can be found in the following software listings/catalogues:

  • Astrophysics Source Code Library / ASCL
  • Exoplanet Modeling and Analysis Center / EMAC
  • The Python Package Index / PyPI

Download files

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

Source Distribution

basta-1.5.4.tar.gz (18.1 MB view details)

Uploaded Source

Built Distribution

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

basta-1.5.4-py3-none-any.whl (182.2 kB view details)

Uploaded Python 3

File details

Details for the file basta-1.5.4.tar.gz.

File metadata

  • Download URL: basta-1.5.4.tar.gz
  • Upload date:
  • Size: 18.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for basta-1.5.4.tar.gz
Algorithm Hash digest
SHA256 b5412292cc925bb614f63f6023aa19972c4d5d9b438a314c93b13e9594df8df1
MD5 c7c6f1493e4496532b5c075d040753a9
BLAKE2b-256 d8d4b9b638903191b3f822011c84560988a564a7a34defd49b2f97ea931856c9

See more details on using hashes here.

File details

Details for the file basta-1.5.4-py3-none-any.whl.

File metadata

  • Download URL: basta-1.5.4-py3-none-any.whl
  • Upload date:
  • Size: 182.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for basta-1.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0206733c1663a4da844a536bd0987ad028a2ff6b7f3fee51b20c37481f83d556
MD5 bcd7abbb4d18929255bb4084ec6b69d0
BLAKE2b-256 5db08023d041a92e340741bd435d7492dc09f4e43194c637e633ef90b8525c72

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.5.4 This release

2 files

1.5.3

2 files

1.5.2

2 files

1.5.1

2 files

1.5.0

2 files

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