def __init__(self, minrps, maxrps, duration):
        """

        :param minrps:
        :param maxrps:
        :param duration: milliseconds
        """
        self.minrps = float(minrps)
        self.maxrps = float(maxrps)
        self.duration = duration / 1000.0
        self.slope = (self.maxrps - self.minrps) / self.duration
def __init__ ( self , minrps , maxrps , duration ) : self . minrps = float ( minrps ) self . maxrps = float ( maxrps ) self . duration = duration / 1000.0 self . slope = ( self . maxrps - self . minrps ) / self . duration
:param minrps:
        :param maxrps:
        :param duration: milliseconds