@@ -99,29 +99,34 @@ function makeplots(mat::Dict; outdir::String="results")
99
99
title (" arterial input function, \$ C_p\$ " )
100
100
savefig (" $outdir /aif.pdf" )
101
101
102
+ figure ()
102
103
clf ()
103
104
imshow (mat[" SER" ], interpolation= " nearest" , cmap= " cubehelix" , vmin= 0 , vmax= 10 )
104
105
colorbar ()
105
106
title (" signal enhancement ratio" )
106
107
savefig (" $outdir /ser.pdf" )
107
108
109
+ figure ()
108
110
clf ()
109
111
imshow (mask, interpolation= " nearest" , cmap= " gray" )
110
112
title (" mask" )
111
113
savefig (" $outdir /mask.pdf" )
112
114
115
+ figure ()
113
116
clf ()
114
117
imshow (R1map, interpolation= " nearest" , cmap= " cubehelix" , vmin= 0 , vmax= 5 )
115
118
title (" \$ R_1\$ relaxation rate (s\$ ^{-1}\$ )" )
116
119
colorbar (ticks= [0 : 5 ])
117
120
savefig (" $outdir /R1.pdf" )
118
121
122
+ figure ()
119
123
clf ()
120
124
imshow (S0map, interpolation= " nearest" , cmap= " gray" )
121
125
title (" \$ S_0\$ " )
122
126
colorbar ()
123
127
savefig (" $outdir /S0.pdf" )
124
128
129
+ figure ()
125
130
clf ()
126
131
Ct = squeeze (maximum (Ct,1 ),1 )
127
132
x = oplot2 (clamp (Ct, 0.0 , 5.0 ), back, mask)
@@ -130,27 +135,31 @@ function makeplots(mat::Dict; outdir::String="results")
130
135
colorbar ()
131
136
savefig (" $outdir /Ct.pdf" )
132
137
138
+ figure ()
133
139
clf ()
134
140
x = oplot2 (clamp (Kt, 0.0 , 1.0 ), back, mask)
135
141
imshow (x, interpolation= " nearest" , cmap= " jet" , vmin= 0 , vmax= 1 )
136
142
title (" \$ K^\\ mathrm{trans}\$ (min\$ ^{-1}\$ )" )
137
143
colorbar (ticks= [0 : 2 : 10 ]/ 10.0 )
138
144
savefig (" $outdir /Kt.pdf" )
139
145
146
+ figure ()
140
147
clf ()
141
148
x = oplot2 (clamp (ve, 0.0 , 1.0 ), back, mask)
142
149
imshow (x, interpolation= " nearest" , cmap= " jet" , vmin= 0 , vmax= 1 )
143
150
title (" \$ v_e\$ " )
144
151
colorbar (ticks= [0 ,0.2 ,0.4 ,0.6 ,0.8 ,1 ])
145
152
savefig (" $outdir /ve.pdf" )
146
153
154
+ figure ()
147
155
clf ()
148
156
x = oplot2 (clamp (vp, 0.0 , 1.0 ), back, mask)
149
157
imshow (x, interpolation= " nearest" , cmap= " jet" , vmin= 0 , vmax= 1 )
150
158
title (" \$ v_p\$ " )
151
159
colorbar (ticks= [0 ,0.2 ,0.4 ,0.6 ,0.8 ,1 ])
152
160
savefig (" $outdir /vp.pdf" )
153
161
162
+ figure ()
154
163
clf ()
155
164
kep = clamp (Kt./ ve, 0.0 , 10.0 )
156
165
x = oplot2 (kep, back, mask)
@@ -159,12 +168,14 @@ function makeplots(mat::Dict; outdir::String="results")
159
168
colorbar (ticks= [0 ,2 ,4 ,6 ,8 ,10 ])
160
169
savefig (" $outdir /kep.pdf" )
161
170
171
+ figure ()
162
172
clf ()
163
173
imshow (modelmap, interpolation= " nearest" , cmap= " cubehelix" )
164
174
title (" model used" )
165
175
colorbar (ticks= [0 ,1 ,2 ,3 ])
166
176
savefig (" $outdir /modelmap.pdf" )
167
177
178
+ figure ()
168
179
clf ()
169
180
x = oplot2 (clamp (100 * resid, 0.0 , 1.0 ), back, mask)
170
181
imshow (x, interpolation= " nearest" , cmap= " jet" , vmin= 0 , vmax= 1.0 )
0 commit comments