-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.mlab
203 lines (201 loc) · 4.14 KB
/
test.mlab
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
// MDL v1 utf8
mevislabVersion = 3.3a
network {
watchlist = ""
}
module RunPythonScript {
internal {
frame = "513 237 160 56"
moduleGroupName = ""
showNetworkPanel = true
windows {
window _default {
geometry = "1393 593 653 296"
sizeHint = "653 296"
wasOpen = no
}
}
}
fields {
instanceName = RunPythonScript
in0 = ""
in1 = ""
in2 = ""
in3 = ""
in4 = ""
in5 = ""
in6 = ""
in7 = ""
in8 = ""
in9 = ""
inComment0 = in0
inComment1 = in1
inComment2 = in2
inComment3 = in3
inComment4 = in4
inComment5 = in5
inComment6 = in6
inComment7 = in7
inComment8 = in8
inComment9 = in9
autoApply0 = TRUE
autoApply1 = TRUE
autoApply2 = TRUE
autoApply3 = TRUE
autoApply4 = TRUE
autoApply5 = TRUE
autoApply6 = TRUE
autoApply7 = TRUE
autoApply8 = TRUE
autoApply9 = TRUE
out0 = ""
out1 = ""
out2 = ""
out3 = ""
out4 = ""
out5 = ""
out6 = ""
out7 = ""
out8 = ""
out9 = ""
outComment0 = out0
outComment1 = out1
outComment2 = out2
outComment3 = out3
outComment4 = out4
outComment5 = out5
outComment6 = out6
outComment7 = out7
outComment8 = out8
outComment9 = out9
initCode = "# For backward compatibility, set up CTX as alias for ctx
CTX = ctx # ctx is the network's context, not RunPythonScript's"
wakeUpCode = ""
code = "*import numpy
def foo():
global bar
bar = numpy.arange(20) # comment
# we may even have "* or *\" in here, right?
foo()
*"
finalizeCode = ""
showFields = FALSE
showInitCode = FALSE
showWakeUpCode = FALSE
showCode = TRUE
showFinalizeCode = FALSE
showConsole = FALSE
}
}
module Bypass {
internal {
frame = "237 165 104 56"
moduleGroupName = ""
showNetworkPanel = true
}
fields {
instanceName = Bypass
noBypass = FALSE
}
}
module View2D {
internal {
frame = "229 69 120 56"
moduleGroupName = ""
}
fields {
instanceName = View2D
inventorInputOn = TRUE
inventorOutputOn = FALSE
view2DExtensionsOn = TRUE
startSlice = 0
numSlices = 1
numXSlices = 1
sliceStep = 1
slab = 1
blendMode = BLEND_REPLACE
timePoint = 0
maxTimePoint = 0
filterMode = FILTER_LINEAR
standardKeys = TRUE
cineMode = CINE_ZT
cineDirection = CINE_FORWARD
cineRepeat = CINE_ONCE
cineSpeed = 0.1
cineAlwaysReset = TRUE
snapToCenter = TRUE
zoomMode = VIEW2D_AUTO_ZOOM
unzoomOnImageChange = FALSE
sliceZoom = 1
sliceZoomSynced = 1
baseColor = "1 1 1"
margin = "2 2"
sliceOrigin = "0 0"
useShaders = TRUE
useManagedInteraction = FALSE
lutCenter = 1
lutWidth = 1
annotationOn = TRUE
annotationMode = ANNO_MODE_AUTO
annotationSizeMode = ANNO_SHOW_DETAILED
annotationCol = "0.899999976158142 0.899999976158142 0.899999976158142"
annotationFontSize = ANNO_SIZE_AUTO
annoCoords = Voxel
annoCTValue = AsIs
borderOn = FALSE
borderColor = "0.899999976158142 0.899999976158142 0.899999976158142"
valueHighPrecision = TRUE
showColorChannelValues = FALSE
colorChannelSeparator = " / "
maxPrecision = 4
enableSlicing = TRUE
useRelativeLUTIfNoInputImage = TRUE
}
}
module Switch {
internal {
frame = "529 117 144 72"
moduleGroupName = ""
showNetworkPanel = true
windows {
window _default {
geometry = "1815 639 201 66"
sizeHint = "201 66"
wasOpen = no
}
}
}
fields {
instanceName = Switch
currentInput = 0
numberOfInputs = 5
}
}
module BoolInt {
internal {
frame = "381 133 104 56"
moduleGroupName = ""
showNetworkPanel = true
windows {
window _default {
geometry = "1612 628 214 227"
sizeHint = "214 227"
wasOpen = no
}
}
}
fields {
instanceName = BoolInt
boolValue = FALSE
invBoolValue = TRUE
intValue = 0
offValue = 0
onValue = 1
defaultBool = Unchanged
}
}
connections {
View2D.inImage = Bypass.output0
Switch.currentInput = BoolInt.intValue
}
networkModel = ""