Exemplo n.º 1
0
 def __init__(self, stim_onsets=unstack_trees(DEFAULT_ONSETS)[0],
              stim_durations=unstack_trees(DEFAULT_STIM_DURATIONS)[0],
              func_data_file=DEFAULT_BOLD):
     Initable.__init__(self)
     self.onsets = stim_onsets
     self.durations = stim_durations
     self.func_data_file = func_data_file
Exemplo n.º 2
0
 def __init__(self, string_p, float_p, int_p, array_p, obj_p):
     Initable.__init__(self)
     self.string_p = string_p
     self.float_p = float_p
     self.int_p = int_p
     self.array_p = array_p
     self.obj_p = obj_p
Exemplo n.º 3
0
    def __init__(self, data=FmriData(), analyser=Analyser(), info={},
                 l=[5,6]):
        Initable.__init__(self)

        self.data = data
        self.analyser = analyser
        self.info = info
        self.list = l
Exemplo n.º 4
0
    def __init__(self, geometry=MaskUI(), sessions_data=[SessionDataUI()],
                 tr=DEFAULT_TR):

        Initable.__init__(self)
        self.mask_ui = geometry
        self.sessions_data_ui = sessions_data
        self.tr = tr
        self.data_type = geometry.data_type
Exemplo n.º 5
0
    def __init__(self, data=FmriDataUI(), analyser=AnalyserUI(),
                 result_dump_file=None, output_dir=None):
        Initable.__init__(self)

        self.data_ui = data
        self.analyser_ui = analyser

        self.data = None
        self.analyser = None
Exemplo n.º 6
0
 def __init__(self, nb_iterations=1000, make_outputs=True):
     Initable.__init__(self)
     self.nb_iterations = nb_iterations
     self.make_outputs = make_outputs
Exemplo n.º 7
0
 def __init__(self, paradigm=np.arange(5).astype(int),
              func_file='./bold.nii'):
     Initable.__init__(self)
     self.paradigm = paradigm
     self.func_file = func_file
Exemplo n.º 8
0
 def __init__(self, d):
     Initable.__init__(self)
     self.d = d
Exemplo n.º 9
0
 def __init__(self, p=3):
     Initable.__init__(self)
     self.p = p
Exemplo n.º 10
0
 def __init__(self):
     Initable.__init__(self)
Exemplo n.º 11
0
 def __init__(self, mask_file=DEFAULT_MASK, mesh_file=None,
              data_type='volume'):
     Initable.__init__(self)
     self.mask_file = mask_file
     self.mesh_file = mesh_file
     self.data_type = data_type
Exemplo n.º 12
0
 def __init__(self, paradigm_file=DEFAULT_PARADIGM_CSV,
              func_data_files=[DEFAULT_BOLD]):
     Initable.__init__(self)
     self.paradigm_file = paradigm_file
     self.func_data_files = func_data_files