Skip to main content

Stellar Population Inference from Spectra and SEDs

Project description

Docs Tests arXiv LICENSE

Purpose

Conduct principled inference of stellar population properties from photometric and/or spectroscopic data. Prospector allows you to:

  • Infer high-dimensional stellar population properties using parametric or highly flexible SFHs (with nested or ensemble Monte Carlo sampling)

  • Combine photometric and spectroscopic data from the UV to Far-IR rigorously using a flexible spectroscopic calibration model and forward modeling many aspects of spectroscopic data analysis.

Read the documentation and the code paper.

Installation

See installation for requirements and dependencies. The documentation includes a tutorial and demos.

To install to a conda environment with dependencies, see conda_install.sh. To install just Prospector (stable release):

python -m pip install astro-prospector

To install the latest development version:

cd <install_dir>
git clone https://github.com/bd-j/prospector
cd prospector
python -m pip install .

Then, in Python

import prospect

Citation

If you use this code, please reference this paper:

@ARTICLE{2021ApJS..254...22J,
       author = {{Johnson}, Benjamin D. and {Leja}, Joel and {Conroy}, Charlie and {Speagle}, Joshua S.},
        title = "{Stellar Population Inference with Prospector}",
      journal = {\apjs},
     keywords = {Galaxy evolution, Spectral energy distribution, Astronomy data modeling, 594, 2129, 1859, Astrophysics - Astrophysics of Galaxies, Astrophysics - Instrumentation and Methods for Astrophysics},
         year = 2021,
        month = jun,
       volume = {254},
       number = {2},
          eid = {22},
        pages = {22},
          doi = {10.3847/1538-4365/abef67},
archivePrefix = {arXiv},
       eprint = {2012.01426},
 primaryClass = {astro-ph.GA},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2021ApJS..254...22J},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

and make sure to cite the dependencies as listed in installation

Example

Inference with mock broadband data, showing the change in posteriors as the number of photometric bands is increased. Demonstration of posterior inference with increasing number of photometric bands

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_prospector-1.4.0.tar.gz (14.4 MB view details)

Uploaded Source

Built Distribution

astro_prospector-1.4.0-py3-none-any.whl (204.8 kB view details)

Uploaded Python 3

File details

Details for the file astro_prospector-1.4.0.tar.gz.

File metadata

  • Download URL: astro_prospector-1.4.0.tar.gz
  • Upload date:
  • Size: 14.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for astro_prospector-1.4.0.tar.gz
Algorithm Hash digest
SHA256 5b93d992082b6659403c2a8070f5b6a603ba125901c1f1b1d8b03f1f9c0da082
MD5 b6381b7c75a54bb03b85f5cc5f383a14
BLAKE2b-256 3dea22d61dda960acfe232a5f4c51af6a8bf70b8549c4896c2edb280cc634982

See more details on using hashes here.

File details

Details for the file astro_prospector-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for astro_prospector-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35d4a49ff0aff8860a324ecaa6dbd54fe00217482de72b51550416d50b2d1264
MD5 2da404b90b9c0ce4aa00f7941f4f51c3
BLAKE2b-256 f4df481d54145f778dc100751659a3c3ed82d635bc9499147585650f683bb919

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page