potential_gradient#

jeanspy.model_jax.AxisymmetricDSphModel.potential_gradient

Class and construction: AxisymmetricDSphModel.

AxisymmetricDSphModel.potential_gradient(R_pc, z_pc, *, params)[source]#

Evaluate derivatives of the gravitational potential.

Notes

Inputs and units. R_pc >= 0, signed z_pc in pc and explicit params.

Returns and shape. Tuple (dPhi/dR,dPhi/dz) in (km/s)^2/pc; gravitational acceleration has the opposite sign.