Bayesian Estimator for Stellar Population Analysis (BESTA)
BESTA is a Python package for inferring stellar population properties from spectroscopic and/or photometric data using Bayesian inference and Monte Carlo methods.
Full documentation is available at besta.readthedocs.io.
Framework
BESTA is built on top of two core libraries:
- Population Synthesis Toolkit (PST) — flexible stellar population synthesis models.
- CosmoSIS — modular parameter estimation via Monte Carlo sampling.
Features
Pipeline modules
Ready-to-use CosmoSIS pipeline modules are provided in besta.pipeline_modules:
| Module | Description |
|---|---|
GalaxySpectraModule |
Full spectroscopic SED fitting |
FullSpectralFitModule |
Joint stellar population and kinematics fit from spectra |
GalaxyPhotometryModule |
Broadband photometric SED fitting |
SFHPhotometryGridModule |
SFH inference from photometry via model grid |
SFHPhotometryEmulatorModule |
SFH inference from photometry via emulator |
Star formation history models
Analytic: ExponentialSFH, DelayedTauSFH, DelayedTauQuenchedSFH, LogNormalSFH, LogNormalQuenchedSFH
Piece-wise: FixedTimeSFH, FixedTime_sSFR_SFH, FixedMassFracSFH
Installation
pip install besta
Requires Python ≥ 3.10. See the installation guide for CosmoSIS setup instructions.
Metadata
Release files for besta 0.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| besta-0.6.2.tar.gz | 176.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| besta-0.6.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 315.4 kB
Release files / besta-0.6.2.tar.gz
| Download URL | besta-0.6.2.tar.gz |
|---|---|
| Size | 176.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
530934e6378e93ae78fe17c2925443644016c1ed9d342428ef69f57c9a9cc1cf
|
|
BLAKE2b-256 checksum How to use checksums |
34e094c35238f7ecdff199f9d154b90437f5cedd81b134922f215e666de99bae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 13, 2026.
Transparency logRelease files / besta-0.6.2-py3-none-any.whl
| Download URL | besta-0.6.2-py3-none-any.whl |
|---|---|
| Size | 138.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb35757ae38937434fa892357d980dd2a398a9259624f3ae9cac53674ef8252b
|
|
BLAKE2b-256 checksum How to use checksums |
d0be2df37cde05bf12d34f150db630353bd2ba5b460e5fb182b720d64be4cdbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 13, 2026.
Transparency log