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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: beansp-2.25.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for beansp-2.25.0.tar.gz
Algorithm Hash digest
SHA256 f2253a8ddf171f775e26d5dc50a9fa85b957bc1ab81264dcce800e239222e21d
MD5 9e3178783bc8b5117262bd070cb33f24
BLAKE2b-256 3cd1769ec4f7b4beb38f844ca22b48cc17fd12cd3150c9c03457f2a79d1d5011

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for beansp-2.25.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16a8142843ecb81695251efe6a0af6677893e8bb36aa8224b65036370b090d33
MD5 3484220e9cc6838f60509a618a9a82e1
BLAKE2b-256 2a84b8e83398c846cf52e96611ad2e5a49a8ea4eda118c33c6c35add022150a4

See more details on using hashes here.

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