density_2d_truncated#
jeanspy.model.Uniform2dModel.density_2d_truncated
Class and construction: Uniform2dModel.
- Uniform2dModel.density_2d_truncated(R_pc, R_trunc_pc)#
Return the normalized 2-D density truncated at
R_trunc_pc.The normalization satisfies
\[\int_0^{R_\mathrm{trunc}} 2\pi R\,\Sigma_\mathrm{trunc}(R)\,dR = 1.\]Notes
Inputs and units.
R_pcis a nonnegative finite scalar/array in pc;R_trunc_pcis a positive finite scalar cutoff in pc.Returns and shape. Normalized surface density in pc^-2 with radius shape, zero for R>``R_trunc_pc``.
Validity. Requires a concrete
density_2dandcdf_Rwith positive CDF at the cutoff.