def to_motor_velocity_acceleration(self, va):
if isinstance(va, collections.Iterable):<EOL><INDENT>return [(x * self._va_to_motor) for x in va]<EOL><DEDENT>else:<EOL><INDENT>return va * self._va_to_motor<EOL><DEDENT>
Convert velocities/accelerations to motor units.

        Converts velocity/ies and/or acceleration/s to units of motor
        pitch per second (or second squared), which is what the drive
        requires when given move instructions.

        Parameters
        ----------
        va : int, float, or iterable of ints and floats
            The velocities/accelerations to convert.

        Returns
        -------
        converted_va : float or list of floats
            The converted velocities/accelerations.