Constant (null) potential¶
- class galpy.potential.NullPotential(amp=1.0, ro=None, vo=None)[source]¶
Class that implements a constant potential with, thus, zero forces. Can be used, for example, for integrating orbits in the absence of forces or for adjusting the value of the total gravitational potential, say, at infinity
- __init__(amp=1.0, ro=None, vo=None)[source]¶
Initialize a null potential: a constant potential with, thus, zero forces
- Parameters:
amp (float or Quantity, optional) – Constant value of the potential (default: 1); can be a Quantity with units of velocity-squared
ro (float, optional) – Distance scale for translation into internal units (default from configuration file)
vo (float, optional) – Velocity scale for translation into internal units (default from configuration file)
Notes
2022-03-18 - Written - Bovy (UofT)