galpy.potential.ttensor

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

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

Parameters:
  • Pot (Potential instance or list of such instances) – Potential instance or list of such instances

  • R (float or Quantity) – Galactocentric radius

  • z (float or Quantity) – height

  • phi (float or Quantity, optional) – azimuth (default: 0.0)

  • t (float or Quantity, optional) – time (default: 0.0)

  • eigenval (bool, optional) – return eigenvalues if true (default: False)

Returns:

Tidal tensor or eigenvalues of the tidal tensor

Return type:

array, shape (3,3) or (3,)

Notes

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