https://github.com/3fon3fonov/bse_nestsamp

https://github.com/3fon3fonov/bse_nestsamp

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.2%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: 3fon3fonov
  • Language: Python
  • Default Branch: main
  • Size: 507 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme

README.md

Binary Star Evolution with Nested Sampling

Overview

This project implements Binary Star Evolution (BSE) simulations using the Dynesty nested sampling sampler to explore parameter spaces efficiently. The project is designed to analyze the evolution of binary star systems, optimizing physical parameters using Bayesian inference.

Features

  • Uses BSE (Binary Star Evolution) code for simulating stellar interactions.
  • Implements Dynesty nested sampling for Bayesian parameter estimation.
  • Provides MCMC and optimization techniques for fitting binary star models.
  • Generates corner plots for posterior distributions.
  • Parallel processing support to improve performance.

Dependencies

To run the project, install the following dependencies:

bash pip install numpy scipy matplotlib emcee corner dill

File Structure

  • compute_bse_nest.py: Main script for running BSE and nested sampling.
  • BSE: Binary Star Evolution code (modified with respect to the original code!)
  • dynesty_1_2: Dynesty sampler package (modified with respect to the original code!)
  • README.md: This documentation.

Usage

Run the main script:

$ python3 compute_bse_nest.py

This will execute the binary star evolution model with nested sampling and produce output files containing posterior samples and best-fit parameters.

References

  • Hurley, J. R., Pols, O. R., & Tout, C. A. (2002). Evolution of binary stars and the effect of tides on binary populations. Monthly Notices of the Royal Astronomical Society, 329(4), 897-928. doi:10.1046/j.1365-8711.2002.05038.x (see also https://ascl.net/1303.014)
  • Speagle, J. S. (2020). DYNESTY: a dynamic nested sampling package for estimating Bayesian posteriors and evidences. Monthly Notices of the Royal Astronomical Society, 493(3), 3132-3158. doi:10.1093/mnras/staa278

License

This project is open-source and available under the MIT License.

Owner

  • Name: Trifon Trifonov
  • Login: 3fon3fonov
  • Kind: user
  • Location: Germany
  • Company: MPIA Heidelberg

GitHub Events

Total
  • Push event: 2
  • Create event: 1
Last Year
  • Push event: 2
  • Create event: 1