Ejemplo n.º 1
0
    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
Ejemplo n.º 2
0
 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.)
Ejemplo n.º 3
0
 def __init__(self, init):
     GSVariable.__init__(self, 'x', initialization=init)
Ejemplo n.º 4
0
 def __init__(self):
     GSVariable.__init__(self, 'x', initialization=np.zeros(2))