jfactor_cone#

jeanspy.model.NFWModel.jfactor_cone

Class and construction: NFWModel.

NFWModel.jfactor_cone(dist_pc, roi_deg=0.5)#

Calculate the full finite-ROI Ullio & Valli (2016) J-factor.

Unlike jfactor_spherical_aperture(), this includes the projected contribution from shells with R_max < r < r_t_pc when the ROI is smaller than the truncated halo, following Eqs. (B.8)–(B.9).

Notes

Inputs and units. dist_pc is observer distance in pc; roi_deg is cone half-angle in degrees. Distance, aperture and the stored r_t_pc must all be scalars; array geometry raises ValueError.

Returns and shape. A scalar J in GeV^2 cm^-5.

Validity. Full finite-distance cone; 0<roi_deg``<=90, ``dist_pc>``r_t_pc``. Require a positive finite halo cutoff and a convergent inner cusp. Small-angle variants enforce the configured small_angle_limit_deg bound.