def METHOD_NAME(self, x_vel, y_vel):
    ## NOTE THAT THERE IS ONLY ONE MAXIMUM VELOCITY (x_vel)
    # Convert um units to the stage step units and round to an integer
    vx = int(round(x_vel * self.um_to_unit * 1.6384))
    # Write the command
    self.writeline("/" + str(self.stage_id)+ " " + "set maxspeed " + str(vx))