galpy.potential.Potential.__add__

Potential.__add__(b)[source]

Add Force or Potential instances together to create a multi-component potential (e.g., pot= pot1+pot2+pot3)

Parameters:

b (Force or Potential instance or a list thereof)

Returns:

Represents the combined potential

Return type:

list of Force or Potential instances

Notes

  • 2019-01-27 - Written - Bovy (UofT)

  • 2020-04-22 - Added check that unit systems of combined potentials are compatible - Bovy (UofT)