log_prob_R#

jeanspy.model_jax.PlummerModel.log_prob_R

Class and construction: PlummerModel.

PlummerModel.log_prob_R(R_pc, *, re_pc)[source]#

Log-pdf of observed projected radius R (i.e. p(R) dR).

p(R) = 2πR Σ(R) = 2R/re^2 * (1 + (R/re)^2)^(-2)

Notes

Inputs and units. R_pc and positive re_pc in pc, broadcastable.

Returns and shape. Natural log radial PDF including 2*pi*R, with broadcast shape. For positive re_pc, R_pc=0 gives minus infinity and negative radii give NaN. This helper does not mask invalid inputs.

Parameters:
Return type:

jax.Array