astro-prospector


Nameastro-prospector JSON
Version 1.4.0 PyPI version JSON
download
home_pageNone
SummaryStellar Population Inference from Spectra and SEDs
upload_time2024-07-06 14:24:34
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT License
keywords
VCS
bugtrack_url
requirements python numpy scipy astropy h5py astro-sedpy
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <img src="doc/_static/logo_name_kh.png" height=75/>  <!-- . -->
==========

[![Docs](https://readthedocs.org/projects/prospect/badge/?version=latest)](https://readthedocs.org/projects/prospect/badge/?version=latest)
[![Tests](https://github.com/bd-j/prospector/workflows/Tests/badge.svg)](https://github.com/bd-j/prospector/actions?query=workflow%3ATests)
[![arXiv](https://img.shields.io/badge/arXiv-2012.01426-b31b1b.svg)](https://arxiv.org/abs/2012.01426)
[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/bd-j/prospector/blob/main/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](http://prospect.readthedocs.io/en/latest/) and the
code [paper](https://ui.adsabs.harvard.edu/abs/2021ApJS..254...22J/abstract).

Installation
------------

See [installation](doc/installation.rst) for requirements and dependencies.
The [documentation](http://prospect.readthedocs.io/en/latest/) 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
```python
import prospect
```


Citation
------

If you use this code, please reference [this paper](https://ui.adsabs.harvard.edu/abs/2021ApJS..254...22J/abstract):
```
@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](doc/installation.rst)

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](doc/images/animation.gif)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "astro-prospector",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Ben Johnson <benjamin.johnson@cfa.harvard.edu>",
    "download_url": "https://files.pythonhosted.org/packages/3d/ea/22d61dda960acfe232a5f4c51af6a8bf70b8549c4896c2edb280cc634982/astro_prospector-1.4.0.tar.gz",
    "platform": null,
    "description": "<img src=\"doc/_static/logo_name_kh.png\" height=75/>  <!-- . -->\n==========\n\n[![Docs](https://readthedocs.org/projects/prospect/badge/?version=latest)](https://readthedocs.org/projects/prospect/badge/?version=latest)\n[![Tests](https://github.com/bd-j/prospector/workflows/Tests/badge.svg)](https://github.com/bd-j/prospector/actions?query=workflow%3ATests)\n[![arXiv](https://img.shields.io/badge/arXiv-2012.01426-b31b1b.svg)](https://arxiv.org/abs/2012.01426)\n[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/bd-j/prospector/blob/main/LICENSE)\n\nPurpose\n-------\nConduct principled inference of stellar population properties from photometric\nand/or spectroscopic data.  Prospector allows you to:\n\n* Infer high-dimensional stellar population properties using parametric or\n  highly flexible SFHs (with nested or ensemble Monte Carlo sampling)\n\n* Combine photometric and spectroscopic data from the UV to Far-IR rigorously\n  using a flexible spectroscopic calibration model and forward modeling many\n  aspects of spectroscopic data analysis.\n\nRead the [documentation](http://prospect.readthedocs.io/en/latest/) and the\ncode [paper](https://ui.adsabs.harvard.edu/abs/2021ApJS..254...22J/abstract).\n\nInstallation\n------------\n\nSee [installation](doc/installation.rst) for requirements and dependencies.\nThe [documentation](http://prospect.readthedocs.io/en/latest/) includes a tutorial and demos.\n\nTo install to a conda environment with dependencies, see `conda_install.sh`.\nTo install just Prospector (stable release):\n```\npython -m pip install astro-prospector\n```\n\nTo install the latest development version:\n```\ncd <install_dir>\ngit clone https://github.com/bd-j/prospector\ncd prospector\npython -m pip install .\n```\n\nThen, in Python\n```python\nimport prospect\n```\n\n\nCitation\n------\n\nIf you use this code, please reference [this paper](https://ui.adsabs.harvard.edu/abs/2021ApJS..254...22J/abstract):\n```\n@ARTICLE{2021ApJS..254...22J,\n       author = {{Johnson}, Benjamin D. and {Leja}, Joel and {Conroy}, Charlie and {Speagle}, Joshua S.},\n        title = \"{Stellar Population Inference with Prospector}\",\n      journal = {\\apjs},\n     keywords = {Galaxy evolution, Spectral energy distribution, Astronomy data modeling, 594, 2129, 1859, Astrophysics - Astrophysics of Galaxies, Astrophysics - Instrumentation and Methods for Astrophysics},\n         year = 2021,\n        month = jun,\n       volume = {254},\n       number = {2},\n          eid = {22},\n        pages = {22},\n          doi = {10.3847/1538-4365/abef67},\narchivePrefix = {arXiv},\n       eprint = {2012.01426},\n primaryClass = {astro-ph.GA},\n       adsurl = {https://ui.adsabs.harvard.edu/abs/2021ApJS..254...22J},\n      adsnote = {Provided by the SAO/NASA Astrophysics Data System}\n}\n```\n\nand make sure to cite the dependencies as listed in [installation](doc/installation.rst)\n\nExample\n-------\n\nInference with mock broadband data, showing the change in posteriors as the\nnumber of photometric bands is increased.\n![Demonstration of posterior inference with increasing number of photometric bands](doc/images/animation.gif)\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Stellar Population Inference from Spectra and SEDs",
    "version": "1.4.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/bd-j/prospector/issues",
        "Homepage": "https://prospect.readthedocs.io/en/latest/",
        "Source": "https://github.com/bd-j/prospector"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f4df481d54145f778dc100751659a3c3ed82d635bc9499147585650f683bb919",
                "md5": "2da404b90b9c0ce4aa00f7941f4f51c3",
                "sha256": "35d4a49ff0aff8860a324ecaa6dbd54fe00217482de72b51550416d50b2d1264"
            },
            "downloads": -1,
            "filename": "astro_prospector-1.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2da404b90b9c0ce4aa00f7941f4f51c3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 204767,
            "upload_time": "2024-07-06T14:24:15",
            "upload_time_iso_8601": "2024-07-06T14:24:15.048797Z",
            "url": "https://files.pythonhosted.org/packages/f4/df/481d54145f778dc100751659a3c3ed82d635bc9499147585650f683bb919/astro_prospector-1.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3dea22d61dda960acfe232a5f4c51af6a8bf70b8549c4896c2edb280cc634982",
                "md5": "b6381b7c75a54bb03b85f5cc5f383a14",
                "sha256": "5b93d992082b6659403c2a8070f5b6a603ba125901c1f1b1d8b03f1f9c0da082"
            },
            "downloads": -1,
            "filename": "astro_prospector-1.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b6381b7c75a54bb03b85f5cc5f383a14",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 14393637,
            "upload_time": "2024-07-06T14:24:34",
            "upload_time_iso_8601": "2024-07-06T14:24:34.709855Z",
            "url": "https://files.pythonhosted.org/packages/3d/ea/22d61dda960acfe232a5f4c51af6a8bf70b8549c4896c2edb280cc634982/astro_prospector-1.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-06 14:24:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bd-j",
    "github_project": "prospector",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "python",
            "specs": [
                [
                    ">=",
                    "3.9"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    ">=",
                    "1.14.2"
                ]
            ]
        },
        {
            "name": "scipy",
            "specs": [
                [
                    ">=",
                    "1.1.0"
                ]
            ]
        },
        {
            "name": "astropy",
            "specs": []
        },
        {
            "name": "h5py",
            "specs": []
        },
        {
            "name": "astro-sedpy",
            "specs": []
        }
    ],
    "lcname": "astro-prospector"
}
        
Elapsed time: 6.36298s