Core utilities#
NumPy/SciPy#
Convert a numerical J factor from Msun^2/pc^5 to GeV^2/cm^5. |
|
Dictionary with attribute access to existing keys. |
|
Solar gravitational parameter G*Msun, in m^3/s^2. |
|
|
Base class for stateful NumPy/SciPy model components. |
|
Lightweight mapping used for stateful model parameters. |
JAX#
|
Functional JAX model container with explicit physical-parameter mappings. |
|
Update global runtime knobs used by model_jax. |
Return the current model_jax runtime configuration. |
Finite-cone NumPy J and D factors#
Convert a numerical J factor from Msun^2/pc^5 to GeV^2/cm^5. |
|
Convert a numerical D factor from Msun/pc^2 to GeV/cm^2. |
JAX hypergeometric numerical helpers#
|
Fixed-term series for 2F1(1, b; d; w) with w in [0,1). |
Series approximation for 2F1(1, b; 3/2; w), w in [0,1). |
|
Numerically stable evaluation of 2F1(1, b; 3/2; w) for w in [0, 1). |
|
Asymptotic evaluation of 2F1(1,b;3/2;w) for w close to 1. |
|
|
2F1(1,b;3/2;w) specialized helper. |
Double-exponential integration helpers#
|
Integrate a vectorized function with fixed double-exponential nodes. |
|
Construct nodes and weights for fixed double-exponential quadrature. |