kilopop.equation_of_state.get_radius_interpolator_from_EOS
- kilopop.equation_of_state.get_radius_interpolator_from_EOS(EOS_table)[source]
Read the radius table and create interpolator function.
Wrapper function to create the interpolation function from the provided EOS data to evaluate the mass vs. radius relation for arbitray mass.
- Parameters:
EOS_table (pandas DataFrame) – Data table of the gravitational mass vs. radius curve.
- Returns:
radius_interpolator – Function which interpolates mass vs. radius for given EOS.
- Return type:
scipy.interpolate instance