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 predict unobservable parameters such as neutron star mass, radius, surface gravity, distance and inclination of the source, and accreted fuel composition. The code is all 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 here - https://github.com/dfm/emcee.

Credits

Software written by Adelle Goodwin. See Goodwin et al. (2019) - https://arxiv.org/pdf/1907.00996.

This softwate (BEANSp) was based on code written by Duncan Galloway, and uses Dan Foreman-Mackey’s python implementation of MCMC, emcee. It depends on pySettle (https://github.com/adellej/pysettle), which was forked from the original settle written by Andrew Cumming.

Package installation and usage

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

pip install beansp
from beansp.beans 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-1.0.1.tar.gz (764.1 kB view details)

Uploaded Source

File details

Details for the file beansp-1.0.1.tar.gz.

File metadata

  • Download URL: beansp-1.0.1.tar.gz
  • Upload date:
  • Size: 764.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.12

File hashes

Hashes for beansp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5b4e1dc4f472c2199aefd34912bec53e8b73a696b69200c94c18efb06a1e46fa
MD5 de969f7299a52e3a97e1c10b62a765b1
BLAKE2b-256 22676958d46c0a4e0c4753ffc647b743e9ecebb9f955c44f828d169996b0cccd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page