pisces.math_utils.integration#
Integration methods for Pisces.
This module provides numerical integration routines for computing enclosed mass profiles and cumulative integrals of functions defined over radial profiles. These methods are useful for astrophysical applications where analytical solutions are not feasible or practical.
Functions
|
Compute a numerical solution to the Lane-Emden equation for a given polytropic index \(n\). |
|
Compute cumulative integral from each radius \(r\) to \(r_{\mathrm{max}}\). |
|
Compute enclosed mass profile via numerical integration. |
|
Compute cumulative integral from each radius \(r\) to infinity. |