kilopop.equation_of_state.get_EOS_table

kilopop.equation_of_state.get_EOS_table(EOS_path=None)[source]

Read in the Equation of state table.

Wrapper function to read the given Equation of State mass vs. radius diagram as pre-computed with a TOV-solver for use with this program. The format of the mass vs. radius data should be (radius, grav_mass, baryonic_mass,…)

Parameters:

EOS_path (str) – The location of the file containing the mass vs. radius data. The provided data should be in the form of a labeled column csv.

Returns:

EOS_data – Dataframe containing the relationship between mass and radius for the given EOS.

Return type:

pandas.dataframe