density#

jeanspy.model.Uniform2dModel.density

Class and construction: Uniform2dModel.

Uniform2dModel.density(distance_from_center, dimension)#

Dispatch to the projected or intrinsic normalized tracer density.

distance_from_center is a radius in pc. dimension must be ‘2d’ or ‘3d’, returning pc^-2 or pc^-3 respectively with the concrete profile’s input shape. An unsupported dimension raises ValueError.