def __init__(self, vardata=(), proportional=0.075, integral=0.175, derivative=0.01): Stepper.__init__(self, vardata=vardata) self.proportional = proportional self.integral = integral self.derivative = derivative self.error = [1., 1., 1.] self.nrej = 0
def __init__(self, vardata=(), safety=0.9, pgrow=-0.2, pshrink=-0.25, errcon=1.89e-4): Stepper.__init__(self, vardata=vardata) self.safety = safety self.pgrow = pgrow self.pshrink = pshrink self.errcon = errcon