Skip to main content

BASTA: The BAyesian STellar Algorithm

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

Current stable version: v1.5.5

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

Metadata

Release files for BASTA 1.5.5

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

Source distribution (sdist)

Source distribution for BASTA 1.5.5
File Size Uploaded Provenance Actions
basta-1.5.5.tar.gz 18.1 MB Without provenance Details for basta-1.5.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for BASTA 1.5.5
File Interpreter ABI Platform Actions
basta-1.5.5-py3-none-any.whl Python 3 none any Details for basta-1.5.5-py3-none-any.whl

Total release size: 18.3 MB

Release files / basta-1.5.5.tar.gz

Download URL basta-1.5.5.tar.gz
Size 18.1 MB
Tags Source
SHA-256 checksum
How to use checksums
e86eecbea46f34275781760a8812782f2a0cc3b47df81b0364b1e1fe1ce7093e
BLAKE2b-256 checksum
How to use checksums
ecbab0266afa7f68a568962e144d7d7953f0688e49b25312b1d840ba47a7a331
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / basta-1.5.5-py3-none-any.whl

Download URL basta-1.5.5-py3-none-any.whl
Size 182.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab38c690d5c3c2300874f3909c33683d551bde84d5ba421b013be71dd331dafd
BLAKE2b-256 checksum
How to use checksums
bb36f0ada005b778be5ac36fbf07b7a2e5edd572a39b31954a4980eda080a409
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for BASTA 1.5.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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