code: def to_motor_velocity_acceleration(self, va):
          
          if isinstance(va, collections.Iterable):
              return [(x * self._va_to_motor) for x in va]
          else:
              return va * self._va_to_motor
docs: 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.