galpy.potential.Potential.__add__¶
- Potential.__add__(b)[source]¶
NAME:
__add__
PURPOSE:
Add Force or Potential instances together to create a multi-component potential (e.g., pot= pot1+pot2+pot3)
INPUT:
b - Force or Potential instance or a list thereof
OUTPUT:
List of Force or Potential instances that represents the combined potential
HISTORY:
2019-01-27 - Written - Bovy (UofT)
2020-04-22 - Added check that unit systems of combined potentials are compatible - Bovy (UofT)