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_pcin pc, scalar or nonempty 1-D array; params contains physical scalars.n_rcontrols the logarithmic radial grid;r_min_factorsets its inner radius relative to min(R).u_maxsets the outer radius relative to max(R), enlarged to cover the supplied halo/tracer/anisotropy scales.dm_mass_n_stepscontrols numerical halo mass integration. This route requires a finite grid extent; an explicit infiniter_t_pcproduces nonfinite results.Returns and shape. Always a one-dimensional array of variances in (km/s)^2, length one for scalar input.