sigmalos2_abel#

jeanspy.model_jax.DSphModel.sigmalos2_abel

Class and construction: DSphModel.

DSphModel.sigmalos2_abel(R_pc, *, params, n_r=None, u_max=None, r_min_factor=0.5, dm_mass_method='auto', dm_mass_n_steps=None)[source]#

Compute sigma_los^2(R) via a 1D Jeans solve and two Abel transforms.

Notes

Inputs and units. Positive R_pc in pc, scalar or nonempty 1-D array; params contains physical scalars. n_r controls the logarithmic radial grid; r_min_factor sets its inner radius relative to min(R). u_max sets the outer radius relative to max(R), enlarged to cover the supplied halo/tracer/anisotropy scales. dm_mass_n_steps controls numerical halo mass integration. This route requires a finite grid extent; an explicit infinite r_t_pc produces nonfinite results.

Returns and shape. Always a one-dimensional array of variances in (km/s)^2, length one for scalar input.

Parameters:
Return type:

jax.Array