ODIN
miview_fmri.h
1 /***************************************************************************
2  miview_fmri.h - description
3  -------------------
4  begin : Mon Jan 2 19:02:26 CEST 2006
5  copyright : (C) 2000-2021 by Thies H. Jochimsen
6  email : thies@jochimsen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef MIVIEW_FMRI_H
19 #define MIVIEW_FMRI_H
20 
21 #include <odinpara/ldrnumbers.h>
22 #include <odinpara/ldrtypes.h>
23 #include <odinpara/ldrblock.h>
24 #include <odinpara/ldrarrays.h>
25 
26 // forward declarations
27 class FileReadOpts;
28 class Protocol;
29 class FilterChain;
30 struct FmriData;
31 
33 
34 class MiViewFmri : public LDRblock {
35 
36  public:
37  MiViewFmri();
38  ~MiViewFmri();
39 
40  bool init(const FileReadOpts& ropts, const Protocol& prot, const FilterChain& filterchain);
41 
42  bool is_valid() const {return valid;}
43 
44  const farray& get_overlay_map() const;
45  bool write_overlay_map(const STD_string& filename);
46 
47  void update();
48 
49  private:
50  LDRstring designfile;
51  LDRstring fmrifile;
52  LDRstring maskfile;
53  LDRbool bonferr;
54  LDRbool hrf;
55  LDRfloat corr;
56  LDRfloat zscore;
57  LDRint designavg;
58  LDRint neighb;
59  LDRstring sigchange;
60  LDRfloat zsum;
61  LDRint zcount;
62  LDRstring zaverage;
63  LDRfloatArr design;
64  LDRfloatArr tcourse;
65  LDRfloatArr sigcourse;
66  LDRstring dumptcourse;
67  LDRstring dumpzmap;
68  LDRstring dumpsmap;
69 
70  FmriData* data;
71  mutable farray overlay_map;
72  mutable farray toberemoved;
73  bool valid;
74 
75 };
76 
77 
78 
79 
80 
81 #endif
82 
83 
Protocol proxy.
Definition: protocol.h:33