galpy.potential.Potential.ttensor

Potential.ttensor(R, z, phi=0.0, t=0.0, eigenval=False)[source]

NAME:

ttensor

PURPOSE:

Calculate the tidal tensor Tij=-d(Psi)(dxidxj)

INPUT:

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 Tensor

HISTORY:

2018-03-21 - Written - Webb (UofT)