irrad_control/devices/stage/xystage.py
def calc_accel(self, speed, distance):
        """
        Returns acceleration needed to get to *speed* in *distance*

        Parameters
        ----------
        speed : float
            speed which should be matched in *distance*
        distance : float
            distance to travel
        """

        return speed**2.0 / (2.0 * distance)

        Returns acceleration needed to get to *speed* in *distance*

        Parameters
        ----------
        speed : float
            speed which should be matched in *distance*
        distance : float
            distance to travel
        
Returns acceleration needed to get to *speed* in *distance
Parameters

speed : float
speed which should be matched in *distance
distance : float
distance to travel
Returns acceleration needed to get to * speed * in * distance Parameters speed : float speed which should be matched in * distance distance : float distance to travel
def calc_accel(self, speed, distance):
        return speed**2.0 / (2.0 * distance)
def calc_accel ( self , speed , distance ) : return speed ** 2.0 / ( 2.0 * distance )
Returns acceleration needed to get to *speed* in *distance
Parameters
Returns acceleration needed to get to * speed * in * distance Parameters
"""
        Returns acceleration needed to get to *speed* in *distance*

        Parameters
        ----------
        speed : float
            speed which should be matched in *distance*
        distance : float
            distance to travel
        """
self
speed
distance