Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beansp-0.9.2.tar.gz (763.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beansp-0.9.2-py3-none-any.whl (660.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for beansp-0.9.2.tar.gz
Algorithm Hash digest
SHA256 d7492efe4c794155528253709b8f8496bdaeae466929f3606fa2e01e3efebea0
MD5 b677604826f4e5b2a757c8947a5d7f6a
BLAKE2b-256 1c6e1d47b163d033e66e86aed96585985484518bf40daf0e8557f09ba1b70433

See more details on using hashes here.

File details

Details for the file beansp-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: beansp-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 660.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for beansp-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8748ef046f8370f14c1f00d681cb6f2cbf548edb80b3273c2f316559ed44655d
MD5 cc1e66c038a1bdb44c2e8bb6121929d6
BLAKE2b-256 9db7c2653f3f0f38bc3079650fc4f21a0537a31162ccabfaa7d7257b39465500

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 Sentry Error logging StatusPage Status page