Bioverse¶
Bioverse is a Python package for simulating the results of a statistical survey of the properties of nearby exoplanets via direct imaging or transit spectroscopy. An in-depth outline of the underlying statistical framework and examples of how it can be applied to astrophysics mission concepts is given in Bixel & Apai (2021). Readers are strongly encouraged to review this paper before proceeding. This documentation covers the Python implementation of Bioverse, but does not review many of its underlying statistical assumptions.
The Overview section describes the code’s structure and primary classes and should be reviewed first. Following that, the Examples section offers step-by-step examples for producing some of the results published in the 2021 paper, as well as ways to modify and expand upon the code. Most of these examples are also available as interactive Jupyter notebooks in the Notebooks directory of the GitHub repository.
Installation¶
The recommended way to install the latest stable version of Bioverse is via pip:
pip install bioverse
Alternatively, Bioverse can be cloned from its GitHub repository:
git clone https://www.github.com/danielapai/bioverse/
cd bioverse
pip install .
Dependencies¶
Bioverse is compatible with Python 3.7+. It has the following dependencies, all of which can be installed using pip:
astroquerydynestyemceematplotlibnumpyscipytqdm(optional: provides a progress bar for long processes)pandasPyQt5(optional: enables configuration GUI)astropypolars
Feedback & Development¶
Bioverse is open source and in active development. We welcome all feedback, bug reports, or feature requests. Feel free to open a pull request if you’d like to contribute! If you think you found a bug, please raise an issue.
References & Acknowledgements¶
Papers making use of Bioverse should cite Bixel & Apai (2021), as well as the Bioverse papers that introduce the features most relevant to their project. A list of Bioverse papers can be found in this ADS library. Bibtex citations are shown below:
@ARTICLE{2021AJ....161..228B,
author = {{Bixel}, Alex and {Apai}, D{\'a}niel},
title = "{Bioverse: A Simulation Framework to Assess the Statistical Power of Future Biosignature Surveys}",
journal = {\aj},
keywords = {Astrobiology, Exoplanets, Exoplanet atmospheres, Astrostatistics, Open source software, 74, 498, 487, 1882, 1866, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics},
year = 2021,
month = may,
volume = {161},
number = {5},
eid = {228},
pages = {228},
doi = {10.3847/1538-3881/abe042},
archivePrefix = {arXiv},
eprint = {2101.10393},
primaryClass = {astro-ph.EP},
adsurl = {https://ui.adsabs.harvard.edu/abs/2021AJ....161..228B},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
@ARTICLE{2023AJ....165..267H,
author = {{Hardegree-Ullman}, Kevin K. and {Apai}, D{\'a}niel and {Bergsten}, Galen J. and {Pascucci}, Ilaria and {L{\'o}pez-Morales}, Mercedes},
title = "{Bioverse: A Comprehensive Assessment of the Capabilities of Extremely Large Telescopes to Probe Earth-like O$_{2}$ Levels in Nearby Transiting Habitable-zone Exoplanets}",
journal = {\aj},
keywords = {Fundamental parameters of stars, Exoplanet systems, Exoplanets, Exoplanet atmospheres, Biosignatures, 555, 484, 498, 487, 2018, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Solar and Stellar Astrophysics},
year = 2023,
month = jun,
volume = {165},
number = {6},
eid = {267},
pages = {267},
doi = {10.3847/1538-3881/acd1ec},
archivePrefix = {arXiv},
eprint = {2304.12490},
primaryClass = {astro-ph.EP},
adsurl = {https://ui.adsabs.harvard.edu/abs/2023AJ....165..267H},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
@ARTICLE{2024PSJ.....5....3S,
author = {{Schlecker}, Martin and {Apai}, D{\'a}niel and {Lichtenberg}, Tim and {Bergsten}, Galen and {Salvador}, Arnaud and {Hardegree-Ullman}, Kevin K.},
title = "{Bioverse: The Habitable Zone Inner Edge Discontinuity as an Imprint of Runaway Greenhouse Climates on Exoplanet Demographics}",
journal = {\psj},
keywords = {Habitable zone, Habitable planets, Astrobiology, Extrasolar rocky planets, Planetary climates, Exoplanet atmospheres, Astronomical simulations, Exoplanets, Transit photometry, Radial velocity, Bayesian statistics, Parametric hypothesis tests, 696, 695, 74, 511, 2184, 487, 1857, 498, 1709, 1332, 1900, 1904, Astrophysics - Earth and Planetary Astrophysics},
year = 2024,
month = jan,
volume = {5},
number = {1},
eid = {3},
pages = {3},
doi = {10.3847/PSJ/acf57f},
archivePrefix = {arXiv},
eprint = {2309.04518},
primaryClass = {astro-ph.EP},
adsurl = {https://ui.adsabs.harvard.edu/abs/2024PSJ.....5....3S},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
@ARTICLE{2025AJ....169..171H,
author = {{Hardegree-Ullman}, Kevin K. and {Apai}, D{\'a}niel and {Haffert}, Sebastiaan Y. and {Schlecker}, Martin and {Kasper}, Markus and {Kammerer}, Jens and {Wagner}, Kevin},
title = "{Bioverse: Giant Magellan Telescope and Extremely Large Telescope Direct Imaging and High-resolution Spectroscopy Assessment{\textemdash}Surveying Exo-Earth O$_{2}$ and Testing the Habitable Zone Oxygen Hypothesis}",
journal = {\aj},
keywords = {Exoplanet systems, Exoplanets, Exoplanet atmospheres, Biosignatures, Astrobiology, Habitable zone, Habitable planets, Astronomical simulations, Bayesian statistics, Parametric hypothesis tests, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics},
year = 2025,
month = mar,
volume = {169},
number = {3},
eid = {171},
pages = {171},
doi = {10.3847/1538-3881/adb02f},
archivePrefix = {arXiv},
eprint = {2405.11423},
primaryClass = {astro-ph.EP},
adsurl = {https://scixplorer.org/abs/2025AJ....169..171H},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
@ARTICLE{2025ApJ...987...24S,
author = {{Schlecker}, Martin and {Apai}, D{\'a}niel and {Affholder}, Antonin and {Ranjan}, Sukrit and {Ferri{\`e}re}, R{\'e}gis and {Hardegree-Ullman}, Kevin K. and {Lichtenberg}, Tim and {Mazevet}, St{\'e}phane},
title = "{Bioverse: Potentially Observable Exoplanet Biosignature Patterns under the UV Threshold Hypothesis for the Origin of Life}",
journal = {\apj},
keywords = {Astrobiology, Biosignatures, Pre-biotic astrochemistry, Near ultraviolet astronomy, Bayesian statistics, Astrostatistics strategies, Habitable planets, Extrasolar rocky planets, Transit photometry, Transits, Parametric hypothesis tests, Astronomical simulations, Earth and Planetary Astrophysics},
year = 2025,
month = jul,
volume = {987},
number = {1},
eid = {24},
pages = {24},
doi = {10.3847/1538-4357/adc8a9},
archivePrefix = {arXiv},
eprint = {2504.04261},
primaryClass = {astro-ph.EP},
adsurl = {https://scixplorer.org/abs/2025ApJ...987...24S},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
@ARTICLE{2025AJ....170..271T,
author = {{Tuchow}, Noah W. and {Stark}, Christopher C. and {Apai}, D{\'a}niel and {Schlecker}, Martin and {Hardegree-Ullman}, Kevin K.},
title = "{Bioverse: Assessing the Ability of Direct Imaging Surveys to Empirically Constrain the Habitable Zone via Trends in Albedo}",
journal = {\aj},
keywords = {Exoplanets, Habitable planets, Astrobiology, Astrostatistics, Exoplanet atmospheres, Habitable zone, Earth and Planetary Astrophysics, Instrumentation and Methods for Astrophysics},
year = 2025,
month = nov,
volume = {170},
number = {5},
eid = {271},
pages = {271},
doi = {10.3847/1538-3881/ae0588},
archivePrefix = {arXiv},
eprint = {2509.07297},
primaryClass = {astro-ph.EP},
adsurl = {https://scixplorer.org/abs/2025AJ....170..271T},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
If you make use of the integrated hypothesis testing and parameter fitting, you should also include references to the emcee and dynesty packages.
Bioverse was developed with support from the National Aeronautics and Space Administration under Agreement No. 80NSSC21K0593 for the program “Alien Earths” as well as the NASA Earth and Space Science Fellowship Program (grant No. 80NSSC17K0470). The development of this code benefited from collaborations and/or information exchange within NASA’s Nexus for Exoplanet System Science (NExSS) research coordination network sponsored by NASA’s Science Mission Directorate.