density_3d_auto#

jeanspy.model.SersicModel.density_3d_auto

Class and construction: SersicModel.

SersicModel.density_3d_auto(r_pc)[source]#

Safely choose a fast literature approximation or numerical Abel.

Notes

Inputs and units. r_pc is scalar or an array in pc; n and re_pc come from stored parameters.

Returns and shape. Unit-integral tracer density in pc^-3 with input shape.

Validity. Uses VM20bis, SP04 or numerical Abel inversion according to the documented n/r domain.