diff m-toolbox/test/pipelines/test_ao_interp.lwb @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/test/pipelines/test_ao_interp.lwb	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,164 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LTPDAworkbench filepath="/Users/hewitson/working/ltp/ltpda/software/m-toolbox/test/pipelines/test_ao_interp.lwb" name="test_ao_interp.lwb*" version="0.4">
+   <document UUID="53095949-c636-4349-b6ba-14c74729899c" title="New Document 1" visible="true" windowHeight="523" windowState="maximized" windowWidth="521" windowX="0" windowY="0">
+      <canvas name="New Document 1" zoomFactor="1.0">
+         <CanvasInfo author="hewitson" created="2009-01-31 16:22:26" description="Test the interp method of the AO class." lastModified="2009-07-24 09:37:48"/>
+         <block UUID="765da166-8b3a-4317-8987-38db6648e163" bounds="84 144 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="sine wave">
+            <port UUID="2a080b00-81ed-4b22-ac19-2f31fa2c387d" bounds="0 0 10 10" name="" number="0" terminal="" type="output">
+               <node UUID="be6e3cb9-b7ce-4195-acc3-44641311e0b2" bounds="132 171 202 66" name="">
+                  <pipe bezier="true" color="-16777012" dstPortUUID="095f3e0b-f096-441a-bd0c-95b36e97f494" dstblock="b" dstport="0" srcPortUUID="2a080b00-81ed-4b22-ac19-2f31fa2c387d" srcblock="sine wave" thickness="2.0"/>
+                  <pipe bezier="true" color="-16777012" dstPortUUID="7a9329f7-da90-4c86-9910-d06b6b53eb52" dstblock="New Block_3" dstport="0" srcPortUUID="2a080b00-81ed-4b22-ac19-2f31fa2c387d" srcblock="sine wave" thickness="2.0"/>
+               </node>
+            </port>
+            <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"/>
+            <plist UUID="ea27e76f-e209-4c46-b9c2-0c54706dd42f" created="-1" description="" name="none">
+               <param desc="" key="TSFCN">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="sin(2*pi*1.733*t)"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="FS">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="fs"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="NSECS">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="nsecs"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="T0">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="1970-01-01 00:00:00.000"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="XUNITS">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="s"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="YUNITS">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value=""/>
+                  </ParamValue>
+               </param>
+            </plist>
+         </block>
+         <block UUID="3642a924-d13a-4be7-9f56-d1d0a6bd17b4" bounds="323 212 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block_3">
+            <port UUID="7a9329f7-da90-4c86-9910-d06b6b53eb52" bounds="0 0 10 10" name="" number="0" terminal="" type="input">
+               <node UUID="be6e3cb9-b7ce-4195-acc3-44641311e0b2" bounds="132 171 202 66" name="">
+                  <pipe bezier="true" color="-16777012" dstPortUUID="7a9329f7-da90-4c86-9910-d06b6b53eb52" dstblock="New Block_3" dstport="0" srcPortUUID="2a080b00-81ed-4b22-ac19-2f31fa2c387d" srcblock="sine wave" thickness="2.0"/>
+               </node>
+            </port>
+            <port UUID="6bb9e354-7673-49a0-8cf1-66a4e4517cce" bounds="0 0 10 10" name="" number="1" terminal="" type="input">
+               <node UUID="5db32463-7491-4550-9e2c-d9857868dd46" bounds="234 247 100 25" name="">
+                  <pipe bezier="true" color="-3657166" dstPortUUID="6bb9e354-7673-49a0-8cf1-66a4e4517cce" dstblock="New Block_3" dstport="1" srcPortUUID="cdafd8ed-5808-4237-84b7-109d70b39a92" srcblock="b" thickness="2.0"/>
+               </node>
+            </port>
+            <LTPDAalgorithm mcategory="Output" mclass="ao" mname="iplot" mpackage="" mversion="" portdims="1 -1 0 -1"/>
+            <plist UUID="2950ba39-5d77-4275-93e8-bac14a590206" created="-1" description="" name="none">
+               <param desc="" key="COLORS">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="{[0.80000000000000004 0.20000000000000001 0.20000000000000001],[0.20000000000000001 0.20000000000000001 0.80000000000000004],[0.20000000000000001 0.90000000000000002 0.20000000000000001],[0.37 0.90000000000000002 0.82999999999999996],[0.88800000000000001 0.16300000000000001 0.90000000000000002],[0 0 0],[0 0.81176470588235294 1],[1 0.50196078431372548 0],[0.5607843137254902 0 0],[1 0.81176470588235294 0],[0.90000000000000002 0.26600000000000001 0.59299999999999997]}"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="ARRANGEMENT">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="stacked"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="FUNCTION">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="plot"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="LEGENDLOCATION">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="NorthEast"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="XERRL">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="[]"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="XERRU">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="[]"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="YERRU">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="[]"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="YERRL">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="[]"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="XLABEL">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="Time"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="YLABEL">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="Amplitude"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="Markers">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="{'x', 'o'}"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="XRanges">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="[0 1]"/>
+                  </ParamValue>
+               </param>
+            </plist>
+         </block>
+         <block UUID="49264177-80dc-4e2e-8c83-d68c39398177" bounds="186 239 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="b">
+            <port UUID="095f3e0b-f096-441a-bd0c-95b36e97f494" bounds="0 0 10 10" name="" number="0" terminal="" type="input">
+               <node UUID="c38a098b-54e3-4996-97ae-fa98be92c9dc" bounds="132 171 65 93" name="">
+                  <pipe bezier="true" color="-16777012" dstPortUUID="095f3e0b-f096-441a-bd0c-95b36e97f494" dstblock="b" dstport="0" srcPortUUID="2a080b00-81ed-4b22-ac19-2f31fa2c387d" srcblock="sine wave" thickness="2.0"/>
+               </node>
+            </port>
+            <port UUID="0fcc0d3f-08b4-45bb-89dc-4179448538ae" bounds="0 0 10 10" name="" number="1" terminal="" type="input">
+               <node UUID="6ee1d72f-a185-45e9-9f2b-9afcf10f5d99" bounds="130 273 67 7" name="">
+                  <pipe bezier="true" color="-3657166" dstPortUUID="0fcc0d3f-08b4-45bb-89dc-4179448538ae" dstblock="b" dstport="1" srcPortUUID="d4483c98-d5e0-4de0-8b15-715b049f4309" srcblock="exp" thickness="2.0"/>
+               </node>
+            </port>
+            <port UUID="cdafd8ed-5808-4237-84b7-109d70b39a92" bounds="0 0 10 10" name="" number="0" terminal="" type="output">
+               <node UUID="5db32463-7491-4550-9e2c-d9857868dd46" bounds="234 247 100 25" name="">
+                  <pipe bezier="true" color="-3657166" dstPortUUID="6bb9e354-7673-49a0-8cf1-66a4e4517cce" dstblock="New Block_3" dstport="1" srcPortUUID="cdafd8ed-5808-4237-84b7-109d70b39a92" srcblock="b" thickness="2.0"/>
+               </node>
+            </port>
+            <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="interp" mpackage="" mversion="" portdims="1 -1 1 -1"/>
+            <plist UUID="5fe58647-9e3d-46e4-9e6e-724d1cb89fd7" created="-1" description="" name="none">
+               <param desc="" key="VERTICES">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="PORT_1"/>
+                  </ParamValue>
+               </param>
+               <param desc="" key="METHOD">
+                  <ParamValue index="0" selection="0">
+                     <Option javaType="java.lang.String" matlabType="char" value="spline"/>
+                  </ParamValue>
+               </param>
+            </plist>
+         </block>
+         <matblock UUID="ce340c59-9807-4bbc-976a-f3b9a249b861" bounds="82 246 60 60" commentedOut="false" expression="linspace(0, nsecs-1/fs, 2*nsecs*fs)" keepResult="true" keepresult="true" name="exp">
+            <port UUID="d4483c98-d5e0-4de0-8b15-715b049f4309" bounds="0 0 10 10" name="" number="0" terminal="" type="output">
+               <node UUID="6ee1d72f-a185-45e9-9f2b-9afcf10f5d99" bounds="130 273 67 7" name="">
+                  <pipe bezier="true" color="-3657166" dstPortUUID="0fcc0d3f-08b4-45bb-89dc-4179448538ae" dstblock="b" dstport="1" srcPortUUID="d4483c98-d5e0-4de0-8b15-715b049f4309" srcblock="exp" thickness="2.0"/>
+               </node>
+            </port>
+         </matblock>
+         <mconstant UUID="e737df44-d8df-4c79-b500-7c44299a2e67" bounds="0 105 60 60" expression="100" inputs="" name="nsecs" outputs=""/>
+         <mconstant UUID="485dd923-7d30-41f8-aa4d-8859f58a2fd2" bounds="0 175 60 60" expression="10" inputs="" name="fs" outputs=""/>
+      </canvas>
+   </document>
+   <ExecutionPlan/>
+</LTPDAworkbench>
\ No newline at end of file