Inferring the Dense Matter Equation of State from Neutron Star Observations via Artificial Neural Networks
Ameya Thete, Kinjal Banerjee, and Tuhin Malik
Abstract: The difficulty in describing the equation of state (EoS) for nuclear matter at densities above the saturation density
Python>=3.7
,NumPy>=1.20
, andTensorFlow>=2.5
.- Use the following command to install required packages.
We supply the dataset used to train the NS-ANN model in our paper. The dataset consists of seven key nuclear matter parameters that govern the equation of state and six target neutron star properties. The data path is ./data/NS-EOS-Data.csv
.
We also supply the data points for both posterior distributions over the nuclear matter parameters following the Bayesian inference. These samples are used to generate the corner plot in Figure 5 from the paper. The data path is ./data/posterior/
. The .json
files are BILBY outputs, and the .dat
files contain pure data samples read from the BILBY output.
Along with the dataset, the pre-trained NS-ANN model is offered in ./pretrained/
. For a given set of nuclear matter parameters, the model predicts the six aforementioned neutron star observables corresponding to a star described by the input equation of state. To test the pre-trained model, run:
python -m predict.py --input=<path-to-input-file> --output=<path-to-output-file> \
--model=<path-to-pretrained-model>
The input file must follow the same format as the same input file ./data/sample.csv
. The utils/
directory contains pickle files for data scalers required in the prediction pipeline. Please ensure that it is located in the same working directory as the script.
If you find this work helpful, please cite our paper:
@article{thete2020nmp,
title={Inferring the dense matter equation of state from neutron star observations via artificial neural networks},
author={Thete, Ameya and Banerjee, Kinjal and Malik, Tuhin},
archivePrefix = {arXiv},
eprint = {2208.13163},
primaryClass = {nucl-th},
year={2022}
}