Skip to main content

Bayesian Estimation of Accreting Neutron Stars parameters

Project description

BEANSp

Bayesian Estimation of Accreting Neutron Star parameters

Features

This software uses a Markov Chain Monte Carlo approach to match observations of an accreting neutron star in outburst with a simple ignition model to constrain parameters including the neutron star mass, radius, surface gravity, distance and system inclination, and accreted fuel composition.

The code is written in Python 3, except for settle which is a C++ code with a python wrapper. It makes use of Dan Foreman-Mackey’s python implementation of MCMC, emcee, available at https://github.com/dfm/emcee.

Credits

Software written by Adelle Goodwin and Duncan Galloway; for a full description see Goodwin et al. (2019, https://doi.org/10.1093/mnras/stz2638 or preprint at https://arxiv.org/pdf/1907.00996).

The original algorithm is described in Galloway & Cumming (2006, https://iopscience.iop.org/article/10.1086/507598).

pySettle was forked from the original settle written by Andrew Cumming and available at https://github.com/andrewcumming/settle

Package installation and usage

BEANSp is on pyPI (https://pypi.org/project/beansp/) so installation is easy - either system-wide, or in virtual environment:

pip install beansp

You can then import the main Beans module as follows:

from beansp import Beans

(Please refer to this simple test script as an example.)

Build and installation from this github repository

Please refer to build instructions.

History

0.1.0 (2019-09-19)

  • First release on PyPI.

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

beansp-2.25.0.tar.gz (1.9 MB view hashes)

Uploaded Source

Built Distribution

beansp-2.25.0-py3-none-any.whl (657.8 kB view hashes)

Uploaded Python 3

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