def __init__(self, duration, dt, zero_constraint): """ Create a variable object handling the sampling of variable 'x'. The sampling init value is set to 0. """ GSVariable.__init__(self, 'hrf_subjects', initialization='custom') self.duration = duration self.dt = dt self.zc = zero_constraint self.nb_coeffs = self.duration / self.dt
def __init__(self): """ Create a variable object handling the sampling of variable 'x'. The sampling init value is set to 0. """ GSVariable.__init__(self, 'x', initialization=0.)
def __init__(self, init): GSVariable.__init__(self, 'x', initialization=init)
def __init__(self): GSVariable.__init__(self, 'x', initialization=np.zeros(2))