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 withR_max < r < r_t_pcwhen the ROI is smaller than the truncated halo, following Eqs. (B.8)–(B.9).Notes
Inputs and units.
dist_pcis observer distance in pc;roi_degis cone half-angle in degrees. Distance, aperture and the storedr_t_pcmust 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 configuredsmall_angle_limit_degbound.