Skip to content

Python code to follow neutron star crust thermal relaxation

Notifications You must be signed in to change notification settings

andrewcumming/crustpy

Repository files navigation

crustpy

This code follows the thermal evolution of a neutron star crust. To compile the eos and crust modules with cython (pip install cython), use

python setup.py build_ext --inplace

An IPython notebook is included that shows how to run a model of the MXB 1659 lightcurve (see Brown & Cumming 2009). Alternatively, use python crustcool.py which plots the results in crustcool.pdf.

MXB 1659 lightcurve

During accretion, the temperature at the top of the grid can be held constant, or allowed to cool and a shallow heat source included at low density.

Interactive version using bokeh: bokeh serve --show crustcool_bokeh.py

To-do list:

  • add entrainment of neutrons by the nuclei in the inner crust (no entrainment assumed at the moment)

About

Python code to follow neutron star crust thermal relaxation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published