galpy.potential.planarPotential.__add__

planarPotential.__add__(b)[source]

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

Parameters:

b (planarForce instance or a combination thereof)

Returns:

Represents the combined potential

Return type:

planarCompositePotential

Notes

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

  • 2024-11-27 - Updated to return planarCompositePotential - Copilot