Bayesian Estimation of Accreting Neutron Stars parameters
Project description
BEANSp
Bayesian Estimation of Accreting Neutron Star parameters
Free software: MIT license
Documentation: https://beans-7.readthedocs.io/en/latest/
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2253a8ddf171f775e26d5dc50a9fa85b957bc1ab81264dcce800e239222e21d |
|
MD5 | 9e3178783bc8b5117262bd070cb33f24 |
|
BLAKE2b-256 | 3cd1769ec4f7b4beb38f844ca22b48cc17fd12cd3150c9c03457f2a79d1d5011 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a8142843ecb81695251efe6a0af6677893e8bb36aa8224b65036370b090d33 |
|
MD5 | 3484220e9cc6838f60509a618a9a82e1 |
|
BLAKE2b-256 | 2a84b8e83398c846cf52e96611ad2e5a49a8ea4eda118c33c6c35add022150a4 |