galpy.potential.Potential.__add__¶
-
Potential.
__add__
(b)¶ 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 thereofOUTPUT:
List of Force or Potential instances that represents the combined potentialHISTORY:
2019-01-27 - Written - Bovy (UofT)
2020-04-22 - Added check that unit systems of combined potentials are compatible - Bovy (UofT)