DarkNewt
Tolman–Oppenheimer–Volkoff modelling of dark-matter admixed neutron stars
Overview
DarkNewt is a Python package for modelling compact stars containing nuclear matter and dark matter using the Tolman–Oppenheimer–Volkoff (TOV) equations.
The package can be used to calculate:
- Mass–radius relations of neutron stars
- Pure nuclear-matter neutron-star sequences
- Two-fluid nuclear-matter + dark-matter configurations
- Individual nuclear-matter and dark-matter masses
- Individual fluid radii
- Total stellar mass and radius
- Dimensionless tidal deformability
- Mass–tidal-deformability relations
- Configurations at fixed dark-matter mass fraction
The package is designed primarily for research and exploratory work in neutron-star and gravitational-wave physics.
Installation
From PyPI
pip install darknewt
Install from source
Quickest way is this:
pip install git+https://gitlab.com/samanwaya-mukherjee/darknewt.git
Features
Equation of state
darknewt provides a common EOS interface supporting both tabulated and analytic equations of state.
Built-in nuclear-matter EOS tables include, among others:
- APR4
- AP1
- AP3
- MPA1
- MS1
- H1
- H4
- SLy
Several Bose–Einstein condensate (BEC) dark-matter EOS tables are also included.
User-supplied EOS tables can be loaded from a file containing:
density [g/cm^3] pressure [dyn/cm^2]
Project structure
darknewt/
├── assets/
│ └── darknewt_logo.png
├── darknewt/
│ ├── __init__.py
│ ├── constants.py
│ ├── love.py
│ ├── solver.py
│ ├── tov.py
│ ├── utils.py
│ └── eos/
│ ├── __init__.py
│ ├── base.py
│ ├── models.py
│ └── eos_data/
│ ├── AP1.txt
│ ├── ...
├── examples/
│ └── test.py
├── README.md
├── LICENSE
└── pyproject.toml
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file darknewt-0.1.2.tar.gz.
File metadata
- Download URL: darknewt-0.1.2.tar.gz
- Upload date:
- Size: 160.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fb55f577458a154da82154f97c04e0d4674694d26422df8532eaba8c787e540
|
|
| MD5 |
4c48080a9db369e0c2943c46588b26b2
|
|
| BLAKE2b-256 |
d825178252e01b6d18d6300a545e140690c25ff012b6183f4a93a03e76bcc9e9
|
File details
Details for the file darknewt-0.1.2-py3-none-any.whl.
File metadata
- Download URL: darknewt-0.1.2-py3-none-any.whl
- Upload date:
- Size: 193.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b00e0708a9679002579c00640dd0165410f42acf5f4ef79d5b6cbf765fa7ed6f
|
|
| MD5 |
3a64a8cd7c617c72c8a6d576825bb1e7
|
|
| BLAKE2b-256 |
b533c0ef8693b28a25e0345442140e7ca4adf3fee9641c3cf51da78b3f714b99
|