jesterTOV.utils module#
Utility functions and constants for neutron star physics calculations.
Interpolation and Numerical Functions#
|
Cubic spline interpolation using interpax. |
|
Perform logarithmic interpolation. |
|
Cumulatively integrate y(x) using the composite trapezoidal rule. |
|
Sigmoid activation function. |
Physics Calculations#
|
Vectorized version of cubic_root_for_proton_fraction. |
Compute rest-mass density from energy density and pressure. |
|
Find the first point where the equation of state becomes non-causal. |
|
|
Truncate neutron star family at maximum TOV mass. |