-
Notifications
You must be signed in to change notification settings - Fork 1
/
framework_ver2.tex
128 lines (98 loc) · 5.42 KB
/
framework_ver2.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
% System Combination
% Harish K Krishnamurthy <www.ece.neu.edu/~hkashyap/>
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,shadows}
\usepackage{amsmath,bm,times}
\newcommand{\mx}[1]{\mathbf{\bm{#1}}} % Matrix command
\newcommand{\vc}[1]{\mathbf{\bm{#1}}} % Vector command
\begin{document}
% Define the layers to draw the diagram
\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}
\pagenumbering{gobble}
% Define block styles used later
\tikzstyle{sensor}=[draw, color=black!100,very thick, fill=blue!20, text width=5em, text centered, minimum height=2.5em,drop shadow]
\tikzstyle{ann} = [above, text width=5em, text centered]
\tikzstyle{wa} = [sensor, text width=12em, fill=red!20,
minimum height=15em, rounded corners, drop shadow]
\tikzstyle{pp} = [sensor, text width=14em, fill=blue!20,
minimum height=16em, rounded corners, drop shadow]
\tikzstyle{sc} = [sensor, text width=7.5em, fill=orange!20,
minimum height=10em, rounded corners, drop shadow]
\tikzstyle{conn}=[draw, color=black!100,very thick, fill=red!20, text width=11em, text centered, minimum height=12em,drop shadow,rounded corners]
\tikzstyle{bem}=[draw, color=black!100,very thick, fill=orange!20, text width=10em,
text centered, minimum height=12em,drop shadow,rounded corners]
\tikzstyle{mri}=[draw, color=black!100,very thick, fill=orange!20, text width=10em,
text centered, minimum height=12em,drop shadow,rounded corners]
\tikzstyle{sensorloc}=[draw, color=black!100,very thick, fill=orange!20, text width=25em,
text centered, minimum height=5em,drop shadow]
% Define distances for bordering
\def\blockdist{2.3}
\def\edgedist{2.5}
\begin{center}
\hspace*{-0.35\linewidth}
\begin{tikzpicture}
\node [draw] (pp) [pp] at (-3,0) {\LARGE \textbf{EEG / MEG \\ data preprocessing}};
\path (pp.west)+(-2,1.5) node (asr1) [sensor] {\LARGE $y_t^1$};
\path (pp.west)+(-2,0.5) node (asr2)[sensor] {\LARGE $y_t^2$};
\path (pp.west)+(-2,-1.0) node (dots)[ann] {\LARGE $\vdots$};
\path (pp.west)+(-2,-2.0) node (asr3)[sensor] {\LARGE $y_t^N$};
\path [draw,ultra thick,->] (asr1.east) -- node {} (-5.6,1.5) ;
\path [draw,ultra thick, ->] (asr2.east) -- node {} (-5.6,.5);
\path [draw,ultra thick, ->] (asr3.east) -- node {} (-5.6,-2);
\path (pp.east)+(3.75,0) node (wa) [wa] {\LARGE \textbf{Marginalized particle filter}};
\path [draw, ultra thick,->] (pp.east) -- node [above] {}%\Large $Y_{1:t}$}
(wa.west);
\path (wa.east)+(2.7,0) node (vote) [conn] {\LARGE \textbf{Neural sources and network structure} };
\path [draw, ultra thick,->] (wa.east) -- node [above] {}
(vote.west);
\path (asr3.north) +(4,-\blockdist) node (asrs) {\LARGE \textbf{Preprocessing }};
\begin{pgfonlayer}{background}
\path (asr1.west |- asr1.north)+(-0.5,1.0) node (a) {};
\path (asr3.south -| asr3.east)+(+0.5,-1.0) node (b) {};
\path (vote.east |- asrs.east)+(+0.5,-0.5) node (c) {};
\path[fill=yellow!20,rounded corners, draw=black!50, dashed]
(a) rectangle (b);
\path (asr1.north west)+(-0.2,0.2) node (a) {};
\end{pgfonlayer}
\path (wa.south) +(2.3,-1.2) node (asrs) {\LARGE \textbf{Inversion and connectivity estimation}};
\begin{pgfonlayer}{background}
\path (asr1.west |- asr1.north)+(-1,1.5) node (a) {};
\path (pp.south -| pp.east)+(+0.5,-2.0) node (b) {};
\path (vote.east |- asrs.east)+(+0.3,-1) node (c) {};
\path[fill=green!20,rounded corners, draw=black!100, dashed,ultra thick, fill opacity=0.3]
(a) rectangle (b);
\path (asr1.north west)+(-0.2,0.2) node (a) {};
\end{pgfonlayer}
\begin{pgfonlayer}{background}
\path (wa.west |- wa.north)+(-0.5,0.8) node (a) {};
\path (vote.south -| vote.east)+(+0.5,-2.8) node (b) {};
\path (vote.east |- asrs.east)+(+0.3,-1) node (c) {};
\path[fill=green!20,rounded corners, draw=black!100, dashed,ultra thick, fill opacity=0.3]
(a) rectangle (b);
\path (wa.north west)+(-0.2,0.2) node (a) {};
\end{pgfonlayer}
\path (wa.north)+(0,5) node (syscomb) [sc] {\LARGE \textbf {Lead field matrix}};
\path [draw, ultra thick,->] (syscomb.south) -- node [pos=0.65,right] {}%\Large $\mathbf{L}$}
(wa.north);
\path (syscomb.west)+(-3,0) node (bem) [bem] {\LARGE \textbf {BEM Head model}};
\path (bem.west)+(-3,0) node (mri) [mri] {\LARGE \textbf {Segmentation of MR images}};
\path [draw, ultra thick,->] (mri.east) -- node [above] {}
(bem.west);
\path [draw, ultra thick,->] (bem.east) -- node [above] {}
(syscomb.west);
\path (syscomb.south) +(-3,-1) node (sct) {\LARGE \textbf{Forward modelling}};
\path (bem.north)+(0,2) node (sensorloc) [sensorloc] {\LARGE \textbf{EEG / MEG sensor locations}};
\path [draw, ultra thick,->] (sensorloc.south) -- node [above] {}
(bem.north);
\begin{pgfonlayer}{background}
\path (mri.west)+(-0.5,6) node (g) {};
\path (bem.east |- syscomb.south)+(4.5,-1.5) node (h) {};
\path[fill=green!20,rounded corners, draw=black!100, dashed, ultra thick, fill opacity=0.3]
(g) rectangle (h);
\end{pgfonlayer}
\end{tikzpicture}
\end{center}
\end{document}