Skip to main content

Stellar Population Inference

Project description

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

  • Infer high-dimensional stellar population properties using parameteric or nonparametric SFHs (with nested or ensemble MCMC sampling)

  • Combine photometric and spectroscopic data from the UV to Far-IR rigorously using a flexible spectroscopic calibration model.

  • Forward model many aspects of spectroscopic data analysis and calibration, including spectrophotometric calibration and wavelength solution, thus properly incorporating uncertainties in these components in the final parameter uncertainties.

Read the documentation here.

Installation

To install to a conda environment with dependencies, see conda_install.sh.

To install just Prospector:

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 setup.py install

Then in Python

import prospect

See installation for requirements. Other files in the doc/ directory explain the usage of the code, and you can read the documentation here.

See also the tutorial or the interactive demo for fitting photometric data with composite stellar populations.

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

Citation

If you use this code, please reference

@MISC{2019ascl.soft05025J,
       author = {{Johnson}, Benjamin D. and {Leja}, Joel L. and {Conroy}, Charlie and
         {Speagle}, Joshua S.},
        title = "{Prospector: Stellar population inference from spectra and SEDs}",
     keywords = {Software},
         year = 2019,
        month = may,
          eid = {ascl:1905.025},
        pages = {ascl:1905.025},
archivePrefix = {ascl},
       eprint = {1905.025},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2019ascl.soft05025J},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

and make sure to cite the dependencies as listed in installation

You should also cite:

@article{2017ApJ...837..170L,
   author = {{Leja}, J. and {Johnson}, B.~D. and {Conroy}, C. and {van Dokkum}, P.~G. and {Byler}, N.},
   title = "{Deriving Physical Properties from Broadband Photometry with Prospector: Description of the Model and a Demonstration of its Accuracy Using 129 Galaxies in the Local Universe}",
   journal = {\apj},
   year = 2017,
   volume = 837,
   pages = {170},
   eprint = {1609.09073},
   doi = {10.3847/1538-4357/aa5ffe},
  adsurl = {http://adsabs.harvard.edu/abs/2017ApJ...837..170L},
}

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.0.0.tar.gz (114.9 kB view details)

Uploaded Source

Built Distribution

astro_prospector-1.0.0-py3-none-any.whl (138.7 kB view details)

Uploaded Python 3

File details

Details for the file astro-prospector-1.0.0.tar.gz.

File metadata

  • Download URL: astro-prospector-1.0.0.tar.gz
  • Upload date:
  • Size: 114.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for astro-prospector-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3236c0758860b232d47963315e7397a2be64f5f0c312e679cbc536f64acbe333
MD5 2b698b4bc38eb0c8b5ffa945a2cbf7ed
BLAKE2b-256 03a61b1560995236231160f2e3eb726360558b9c7e7f834c4a36907457b0879d

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: astro_prospector-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 138.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for astro_prospector-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7540282fc2289b81792a4200bde992d51e84d2db6301e4ba26f61633eaa042f
MD5 5a9f4ba1c88c911e3e6f7adf132217b6
BLAKE2b-256 3ca43101ea216a17893a06aa41d44393db8dc7e81891b4c12e1a1ea09bcfa9b1

See more details on using hashes here.

Provenance

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