galpy.potential.ttensor¶
-
galpy.potential.
ttensor
(Pot, R, z, phi=0.0, t=0.0, eigenval=False)[source]¶ NAME:
ttensorPURPOSE:
Calculate the tidal tensor Tij=-d(Psi)(dxidxj)INPUT:
Pot - Potential instance or list of such instances
R - Galactocentric radius (can be Quantity)
z - height (can be Quantity)
phi - azimuth (optional; can be Quantity)
t - time (optional; can be Quantity)
eigenval - return eigenvalues if true (optional; boolean)
OUTPUT:
Tidal TensorHISTORY:
2018-03-21 - Written - Webb (UofT)