def __init__(self, K=1.15, F=0.03, D=1.8, amp=1.0): """ NAME: __init__ PURPOSE: Initialize a KGPotential INPUT: K= K parameter F= F parameter D= D parameter amp - an overall amplitude OUTPUT: instance HISTORY: 2010-07-12 - Written - Bovy (NYU) """ linearPotential.__init__(self, amp=amp) self._K = K self._F = F self._D = D self._D2 = self._D ** 2.0
def __init__(self,RZPot,R=1.): """ NAME: __init__ PURPOSE: Initialize INPUT: RZPot - RZPotential instance R - Galactocentric radius at which to create the vertical potential OUTPUT: verticalPotential instance HISTORY: 2010-07-13 - Written - Bovy (NYU) """ linearPotential.__init__(self,amp=1.) self._RZPot= RZPot self._R= R return None
def __init__(self, RZPot, R=1.): """ NAME: __init__ PURPOSE: Initialize INPUT: RZPot - RZPotential instance R - Galactocentric radius at which to create the vertical potential OUTPUT: verticalPotential instance HISTORY: 2010-07-13 - Written - Bovy (NYU) """ linearPotential.__init__(self, amp=1.) self._RZPot = RZPot self._R = R return None
def __init__(self, K=1.15, F=0.03, D=1.8, amp=1.): """ NAME: __init__ PURPOSE: Initialize a KGPotential INPUT: K F D amp - an overall amplitude OUTPUT: HISTORY: 2010-07-12 - Written - Bovy (NYU) """ linearPotential.__init__(self, amp=amp) self._K = K self._F = F self._D = D self._D2 = self._D**2.