You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

crop.mxs 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418
  1. <OpenViBE-Scenario>
  2. <FormatVersion>1</FormatVersion>
  3. <Creator>OpenVIBE</Creator>
  4. <CreatorVersion>0.0.0</CreatorVersion>
  5. <Settings></Settings>
  6. <Inputs></Inputs>
  7. <Outputs></Outputs>
  8. <Boxes>
  9. <Box>
  10. <Identifier>(0x00004a0e, 0x000044ab)</Identifier>
  11. <Name>Continuous Oscilloscope</Name>
  12. <AlgorithmClassIdentifier>(0x0842bcd1, 0xd53c1c89)</AlgorithmClassIdentifier>
  13. <Inputs>
  14. <Input>
  15. <TypeIdentifier>(0x5ba36127, 0x195feae1)</TypeIdentifier>
  16. <Name>Matrix</Name>
  17. </Input>
  18. <Input>
  19. <TypeIdentifier>(0x6f752dd0, 0x082a321e)</TypeIdentifier>
  20. <Name>Markers</Name>
  21. </Input>
  22. </Inputs>
  23. <Settings>
  24. <Setting>
  25. <TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
  26. <Name>Channel Localisation</Name>
  27. <DefaultValue>${AdvancedViz_ChannelLocalisation}</DefaultValue>
  28. <Value>${AdvancedViz_ChannelLocalisation}</Value>
  29. <Modifiability>false</Modifiability>
  30. </Setting>
  31. <Setting>
  32. <TypeIdentifier>(0x8f02e3f6, 0xffb00f4b)</TypeIdentifier>
  33. <Name>Temporal Coherence</Name>
  34. <DefaultValue>Time Locked</DefaultValue>
  35. <Value>Time Locked</Value>
  36. <Modifiability>false</Modifiability>
  37. </Setting>
  38. <Setting>
  39. <TypeIdentifier>(0x512a166f, 0x5c3ef83f)</TypeIdentifier>
  40. <Name>Time Scale</Name>
  41. <DefaultValue>20</DefaultValue>
  42. <Value>20</Value>
  43. <Modifiability>false</Modifiability>
  44. </Setting>
  45. <Setting>
  46. <TypeIdentifier>(0x007deef9, 0x2f3e95c6)</TypeIdentifier>
  47. <Name>Matrix Count</Name>
  48. <DefaultValue>50</DefaultValue>
  49. <Value>50</Value>
  50. <Modifiability>false</Modifiability>
  51. </Setting>
  52. <Setting>
  53. <TypeIdentifier>(0x2cdb2f0b, 0x12f231ea)</TypeIdentifier>
  54. <Name>Positive Data Only ?</Name>
  55. <DefaultValue>false</DefaultValue>
  56. <Value>false</Value>
  57. <Modifiability>false</Modifiability>
  58. </Setting>
  59. <Setting>
  60. <TypeIdentifier>(0x512a166f, 0x5c3ef83f)</TypeIdentifier>
  61. <Name>Gain</Name>
  62. <DefaultValue>1</DefaultValue>
  63. <Value>1</Value>
  64. <Modifiability>false</Modifiability>
  65. </Setting>
  66. <Setting>
  67. <TypeIdentifier>(0x79a9edeb, 0x245d83fc)</TypeIdentifier>
  68. <Name>Caption</Name>
  69. <DefaultValue></DefaultValue>
  70. <Value></Value>
  71. <Modifiability>false</Modifiability>
  72. </Setting>
  73. <Setting>
  74. <TypeIdentifier>(0x512a166f, 0x5c3ef83f)</TypeIdentifier>
  75. <Name>Translucency</Name>
  76. <DefaultValue>1</DefaultValue>
  77. <Value>1</Value>
  78. <Modifiability>false</Modifiability>
  79. </Setting>
  80. <Setting>
  81. <TypeIdentifier>(0x7f45a2a9, 0x7db12219)</TypeIdentifier>
  82. <Name>Color</Name>
  83. <DefaultValue>${AdvancedViz_DefaultColor}</DefaultValue>
  84. <Value>${AdvancedViz_DefaultColor}</Value>
  85. <Modifiability>false</Modifiability>
  86. </Setting>
  87. </Settings>
  88. <Attributes>
  89. <Attribute>
  90. <Identifier>(0x1fa7a38f, 0x54edbe0b)</Identifier>
  91. <Value>336</Value>
  92. </Attribute>
  93. <Attribute>
  94. <Identifier>(0x207c9054, 0x3c841b63)</Identifier>
  95. <Value>320</Value>
  96. </Attribute>
  97. <Attribute>
  98. <Identifier>(0x4e7b798a, 0x183beafb)</Identifier>
  99. <Value>(0x35390ab5, 0x7b926078)</Value>
  100. </Attribute>
  101. <Attribute>
  102. <Identifier>(0x527ad68d, 0x16d746a0)</Identifier>
  103. <Value></Value>
  104. </Attribute>
  105. <Attribute>
  106. <Identifier>(0xc67a01dc, 0x28ce06c1)</Identifier>
  107. <Value></Value>
  108. </Attribute>
  109. <Attribute>
  110. <Identifier>(0xce18836a, 0x9c0eb403)</Identifier>
  111. <Value>9</Value>
  112. </Attribute>
  113. <Attribute>
  114. <Identifier>(0xcfad85b0, 0x7c6d841c)</Identifier>
  115. <Value>2</Value>
  116. </Attribute>
  117. </Attributes>
  118. </Box>
  119. <Box>
  120. <Identifier>(0x4ad3afd2, 0x3cf93093)</Identifier>
  121. <Name>Crop</Name>
  122. <AlgorithmClassIdentifier>(0x7f1a3002, 0x358117ba)</AlgorithmClassIdentifier>
  123. <Inputs>
  124. <Input>
  125. <TypeIdentifier>(0x5ba36127, 0x195feae1)</TypeIdentifier>
  126. <Name>Input matrix</Name>
  127. </Input>
  128. </Inputs>
  129. <Outputs>
  130. <Output>
  131. <TypeIdentifier>(0x5ba36127, 0x195feae1)</TypeIdentifier>
  132. <Name>Output matrix</Name>
  133. </Output>
  134. </Outputs>
  135. <Settings>
  136. <Setting>
  137. <TypeIdentifier>(0xd0643f9e, 0x8e35fe0a)</TypeIdentifier>
  138. <Name>Crop method</Name>
  139. <DefaultValue>Min</DefaultValue>
  140. <Value>Min/Max</Value>
  141. <Modifiability>false</Modifiability>
  142. </Setting>
  143. <Setting>
  144. <TypeIdentifier>(0x512a166f, 0x5c3ef83f)</TypeIdentifier>
  145. <Name>Min crop value</Name>
  146. <DefaultValue>-1</DefaultValue>
  147. <Value>-3.000000</Value>
  148. <Modifiability>false</Modifiability>
  149. </Setting>
  150. <Setting>
  151. <TypeIdentifier>(0x512a166f, 0x5c3ef83f)</TypeIdentifier>
  152. <Name>Max crop value</Name>
  153. <DefaultValue>1</DefaultValue>
  154. <Value>3.000000</Value>
  155. <Modifiability>false</Modifiability>
  156. </Setting>
  157. </Settings>
  158. <Attributes>
  159. <Attribute>
  160. <Identifier>(0x1fa7a38f, 0x54edbe0b)</Identifier>
  161. <Value>224</Value>
  162. </Attribute>
  163. <Attribute>
  164. <Identifier>(0x207c9054, 0x3c841b63)</Identifier>
  165. <Value>320</Value>
  166. </Attribute>
  167. <Attribute>
  168. <Identifier>(0x30a4e5c9, 0x83502953)</Identifier>
  169. <Value></Value>
  170. </Attribute>
  171. <Attribute>
  172. <Identifier>(0x4e7b798a, 0x183beafb)</Identifier>
  173. <Value>(0x1b151919, 0x63b9f9c9)</Value>
  174. </Attribute>
  175. <Attribute>
  176. <Identifier>(0x527ad68d, 0x16d746a0)</Identifier>
  177. <Value></Value>
  178. </Attribute>
  179. <Attribute>
  180. <Identifier>(0xc46b3d00, 0x3e0454e1)</Identifier>
  181. <Value>(0x00000000, 0x005c9c00)</Value>
  182. </Attribute>
  183. </Attributes>
  184. </Box>
  185. <Box>
  186. <Identifier>(0x4b232ee3, 0x159c74d0)</Identifier>
  187. <Name>Simple DSP</Name>
  188. <AlgorithmClassIdentifier>(0x00e26fa1, 0x1dbab1b2)</AlgorithmClassIdentifier>
  189. <Inputs>
  190. <Input>
  191. <TypeIdentifier>(0x5ba36127, 0x195feae1)</TypeIdentifier>
  192. <Name>Input - A</Name>
  193. </Input>
  194. </Inputs>
  195. <Outputs>
  196. <Output>
  197. <TypeIdentifier>(0x5ba36127, 0x195feae1)</TypeIdentifier>
  198. <Name>Output</Name>
  199. </Output>
  200. </Outputs>
  201. <Settings>
  202. <Setting>
  203. <TypeIdentifier>(0x79a9edeb, 0x245d83fc)</TypeIdentifier>
  204. <Name>Equation</Name>
  205. <DefaultValue>x</DefaultValue>
  206. <Value>4 * cos(X)</Value>
  207. <Modifiability>false</Modifiability>
  208. </Setting>
  209. </Settings>
  210. <Attributes>
  211. <Attribute>
  212. <Identifier>(0x1fa7a38f, 0x54edbe0b)</Identifier>
  213. <Value>112</Value>
  214. </Attribute>
  215. <Attribute>
  216. <Identifier>(0x207c9054, 0x3c841b63)</Identifier>
  217. <Value>320</Value>
  218. </Attribute>
  219. <Attribute>
  220. <Identifier>(0x30a4e5c9, 0x83502953)</Identifier>
  221. <Value></Value>
  222. </Attribute>
  223. <Attribute>
  224. <Identifier>(0x4e7b798a, 0x183beafb)</Identifier>
  225. <Value>(0x21889dc4, 0x1126497e)</Value>
  226. </Attribute>
  227. <Attribute>
  228. <Identifier>(0x527ad68d, 0x16d746a0)</Identifier>
  229. <Value></Value>
  230. </Attribute>
  231. <Attribute>
  232. <Identifier>(0xc80ce8af, 0xf699f813)</Identifier>
  233. <Value>1</Value>
  234. </Attribute>
  235. <Attribute>
  236. <Identifier>(0xce18836a, 0x9c0eb403)</Identifier>
  237. <Value>1</Value>
  238. </Attribute>
  239. <Attribute>
  240. <Identifier>(0xcfad85b0, 0x7c6d841c)</Identifier>
  241. <Value>1</Value>
  242. </Attribute>
  243. <Attribute>
  244. <Identifier>(0xfba64161, 0x65304e21)</Identifier>
  245. <Value></Value>
  246. </Attribute>
  247. </Attributes>
  248. </Box>
  249. <Box>
  250. <Identifier>(0x6863e8d2, 0x76896199)</Identifier>
  251. <Name>Time signal</Name>
  252. <AlgorithmClassIdentifier>(0x28a5e7ff, 0x530095de)</AlgorithmClassIdentifier>
  253. <Outputs>
  254. <Output>
  255. <TypeIdentifier>(0x5ba36127, 0x195feae1)</TypeIdentifier>
  256. <Name>Generated signal</Name>
  257. </Output>
  258. </Outputs>
  259. <Settings>
  260. <Setting>
  261. <TypeIdentifier>(0x007deef9, 0x2f3e95c6)</TypeIdentifier>
  262. <Name>Sampling frequency</Name>
  263. <DefaultValue>512</DefaultValue>
  264. <Value>512</Value>
  265. <Modifiability>false</Modifiability>
  266. </Setting>
  267. <Setting>
  268. <TypeIdentifier>(0x007deef9, 0x2f3e95c6)</TypeIdentifier>
  269. <Name>Generated epoch sample count</Name>
  270. <DefaultValue>32</DefaultValue>
  271. <Value>32</Value>
  272. <Modifiability>false</Modifiability>
  273. </Setting>
  274. </Settings>
  275. <Attributes>
  276. <Attribute>
  277. <Identifier>(0x1fa7a38f, 0x54edbe0b)</Identifier>
  278. <Value>32</Value>
  279. </Attribute>
  280. <Attribute>
  281. <Identifier>(0x207c9054, 0x3c841b63)</Identifier>
  282. <Value>320</Value>
  283. </Attribute>
  284. <Attribute>
  285. <Identifier>(0x4e7b798a, 0x183beafb)</Identifier>
  286. <Value>(0x9e5ca01e, 0x30a4d8c3)</Value>
  287. </Attribute>
  288. <Attribute>
  289. <Identifier>(0xc46b3d00, 0x3e0454e1)</Identifier>
  290. <Value>(0x00000000, 0x00903800)</Value>
  291. </Attribute>
  292. </Attributes>
  293. </Box>
  294. </Boxes>
  295. <Links>
  296. <Link>
  297. <Identifier>(0x0000194d, 0x000013f5)</Identifier>
  298. <Source>
  299. <BoxIdentifier>(0x4ad3afd2, 0x3cf93093)</BoxIdentifier>
  300. <BoxOutputIndex>0</BoxOutputIndex>
  301. </Source>
  302. <Target>
  303. <BoxIdentifier>(0x00004a0e, 0x000044ab)</BoxIdentifier>
  304. <BoxInputIndex>0</BoxInputIndex>
  305. </Target>
  306. </Link>
  307. <Link>
  308. <Identifier>(0x1a54d7bc, 0x42e57ef8)</Identifier>
  309. <Source>
  310. <BoxIdentifier>(0x4b232ee3, 0x159c74d0)</BoxIdentifier>
  311. <BoxOutputIndex>0</BoxOutputIndex>
  312. </Source>
  313. <Target>
  314. <BoxIdentifier>(0x4ad3afd2, 0x3cf93093)</BoxIdentifier>
  315. <BoxInputIndex>0</BoxInputIndex>
  316. </Target>
  317. </Link>
  318. <Link>
  319. <Identifier>(0x773bfbdd, 0x2c7c62c3)</Identifier>
  320. <Source>
  321. <BoxIdentifier>(0x6863e8d2, 0x76896199)</BoxIdentifier>
  322. <BoxOutputIndex>0</BoxOutputIndex>
  323. </Source>
  324. <Target>
  325. <BoxIdentifier>(0x4b232ee3, 0x159c74d0)</BoxIdentifier>
  326. <BoxInputIndex>0</BoxInputIndex>
  327. </Target>
  328. </Link>
  329. </Links>
  330. <Comments>
  331. <Comment>
  332. <Identifier>(0x04e5dcb5, 0x41e96bdc)</Identifier>
  333. <Text>The &lt;i&gt;&lt;b&gt;Crop&lt;/b&gt;&lt;/i&gt; box cuts the signal
  334. to a minimum of &lt;b&gt;-3&lt;/b&gt; and a maximum of
  335. &lt;b&gt;+3&lt;/b&gt;. If the signal gets lower to the minimum
  336. or higher to the maximum, the sample value is simply
  337. replaced by the actual minimum or the actual maximum.</Text>
  338. <Attributes>
  339. <Attribute>
  340. <Identifier>(0x473d9a43, 0x97fc0a97)</Identifier>
  341. <Value>576</Value>
  342. </Attribute>
  343. <Attribute>
  344. <Identifier>(0x7234b86b, 0x2b8651a5)</Identifier>
  345. <Value>240</Value>
  346. </Attribute>
  347. </Attributes>
  348. </Comment>
  349. <Comment>
  350. <Identifier>(0x0805b331, 0x060a1464)</Identifier>
  351. <Text>Finally, the &lt;i&gt;Signal Display&lt;/i&gt; box
  352. displays the result.</Text>
  353. <Attributes>
  354. <Attribute>
  355. <Identifier>(0x473d9a43, 0x97fc0a97)</Identifier>
  356. <Value>576</Value>
  357. </Attribute>
  358. <Attribute>
  359. <Identifier>(0x7234b86b, 0x2b8651a5)</Identifier>
  360. <Value>336</Value>
  361. </Attribute>
  362. </Attributes>
  363. </Comment>
  364. <Comment>
  365. <Identifier>(0x0a045ab2, 0x18722620)</Identifier>
  366. <Text>The &lt;i&gt;Time Signal&lt;/i&gt; box generates
  367. a 1 channel linear signal (&lt;i&gt;f(t)=t&lt;/i&gt;)</Text>
  368. <Attributes>
  369. <Attribute>
  370. <Identifier>(0x473d9a43, 0x97fc0a97)</Identifier>
  371. <Value>576</Value>
  372. </Attribute>
  373. <Attribute>
  374. <Identifier>(0x7234b86b, 0x2b8651a5)</Identifier>
  375. <Value>48</Value>
  376. </Attribute>
  377. </Attributes>
  378. </Comment>
  379. <Comment>
  380. <Identifier>(0x162eb70d, 0x78070223)</Identifier>
  381. <Text>The &lt;i&gt;Simple DSP&lt;/i&gt; box applies a simple
  382. function to each sample. This function is
  383. &lt;i&gt;4 * cos(X)&lt;/i&gt; so the output signal is a
  384. sinusoid in the [-4 +4] range.</Text>
  385. <Attributes>
  386. <Attribute>
  387. <Identifier>(0x473d9a43, 0x97fc0a97)</Identifier>
  388. <Value>576</Value>
  389. </Attribute>
  390. <Attribute>
  391. <Identifier>(0x7234b86b, 0x2b8651a5)</Identifier>
  392. <Value>128</Value>
  393. </Attribute>
  394. </Attributes>
  395. </Comment>
  396. <Comment>
  397. <Identifier>(0x5d5ce761, 0x1cd484d6)</Identifier>
  398. <Text>You can browse each box' documentation by selecting the box and pressing &lt;b&gt;F1&lt;/b&gt;</Text>
  399. <Attributes>
  400. <Attribute>
  401. <Identifier>(0x473d9a43, 0x97fc0a97)</Identifier>
  402. <Value>480</Value>
  403. </Attribute>
  404. <Attribute>
  405. <Identifier>(0x7234b86b, 0x2b8651a5)</Identifier>
  406. <Value>400</Value>
  407. </Attribute>
  408. </Attributes>
  409. </Comment>
  410. </Comments>
  411. <Metadata>
  412. <Entry>
  413. <Identifier>(0x0000775c, 0x000078ff)</Identifier>
  414. <Type>(0x3bcce5d2, 0x43f2d968)</Type>
  415. <Data>[{"boxIdentifier":"(0x00004a0e, 0x000044ab)","childCount":0,"identifier":"(0x000020ad, 0x000032d0)","index":0,"parentIdentifier":"(0xffffffff, 0xffffffff)","type":3},{"boxIdentifier":"(0xffffffff, 0xffffffff)","childCount":1,"height":1,"identifier":"(0x57071613, 0x5293bfef)","index":0,"name":"Default window","parentIdentifier":"(0xffffffff, 0xffffffff)","type":1,"width":1},{"boxIdentifier":"(0xffffffff, 0xffffffff)","childCount":1,"identifier":"(0x38bf53e5, 0x226f5320)","index":0,"name":"Default tab","parentIdentifier":"(0x57071613, 0x5293bfef)","type":2},{"boxIdentifier":"(0xffffffff, 0xffffffff)","childCount":0,"identifier":"(0x5a0201c7, 0x2a9c34e2)","index":0,"name":"Empty","parentIdentifier":"(0x38bf53e5, 0x226f5320)","type":0}]</Data>
  416. </Entry>
  417. </Metadata>
  418. </OpenViBE-Scenario>