CompactObject constrains the equation of state (EOS) of neutron stars using Bayesian inference. It includes modules for EOS generation (relativistic mean field, polytrope, quark or strange-star, speed-of-sound, or custom models), solving the Tolman–Oppenheimer–Volkoff equations to compute mass, radius, and tidal deformability, and performing Bayesian inference that incorporates astrophysical observations and theoretical constraints. Users can generate EOS samples, compute neutron star properties, and derive posterior distributions on EOS parameters. The CompactObject package also provides documentation and example workflows.
Please see citation information here: https://github.com/ChunHuangPhy/CompactObject#papers