def __init__(self, v, nvalues, schedule):
    self.n = 0.0
    self.v = v
    self.nvalues = nvalues
    self.schedule = schedules[schedule]
def __init__(self, v, nvalues, schedule):
    self.n = 0.0
    self.v = v
    self.nvalues = nvalues
    self.schedule = schedules[schedule]