density#

jeanspy.model.ProjectedExponentialModel.density

Class and construction: ProjectedExponentialModel.

ProjectedExponentialModel.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.