view m-toolbox/test/pipelines/test_ao_downsample.lwb @ 44:409a22968d5e default

Add unit tests
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 18:42:11 +0100
parents f0afece42f48
children
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<LTPDAworkbench filepath="/Users/hewitson/working/ltp/ltpda/software/m-toolbox/test/pipelines/test_ao_downsample.lwb" name="test_ao_downsample.lwb*" version="0.4">
   <document UUID="919ecd85-33e9-4daf-aeb3-d783a55150f1" 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 downsample method of the AO class." lastModified="2009-07-24 09:27:39"/>
         <block UUID="049001ed-dca0-4a72-a136-00ba09968424" bounds="43 144 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="sine wave">
            <port UUID="2ff3fe5f-92f8-4626-a38d-fc141c3b11de" bounds="0 0 10 10" name="" number="0" terminal="" type="output">
               <node UUID="fc125e65-2f8b-4814-a5a7-687e84eb165f" bounds="91 171 251 6" name="">
                  <pipe bezier="true" color="-16777012" dstPortUUID="6f0210e9-ca5d-4e61-bb73-25d1fa3555db" dstblock="a2" dstport="0" srcPortUUID="2ff3fe5f-92f8-4626-a38d-fc141c3b11de" srcblock="sine wave" thickness="2.0"/>
                  <pipe bezier="true" color="-16777012" dstPortUUID="0dc127e9-ae13-4adf-8b9a-5d61aaf01798" dstblock="a3" dstport="0" srcPortUUID="2ff3fe5f-92f8-4626-a38d-fc141c3b11de" srcblock="sine wave" thickness="2.0"/>
                  <pipe bezier="true" color="-16777012" dstPortUUID="bfec7a0e-4473-4287-8298-6f093ba4e12b" dstblock="New Block" dstport="0" srcPortUUID="2ff3fe5f-92f8-4626-a38d-fc141c3b11de" srcblock="sine wave" thickness="2.0"/>
               </node>
            </port>
            <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"/>
            <plist UUID="24d16e4b-5977-461b-9f26-7d8dc941fc7a" 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*0.433*t)"/>
                  </ParamValue>
               </param>
               <param desc="" key="FS">
                  <ParamValue index="0" selection="0">
                     <Option javaType="java.lang.String" matlabType="char" value="100"/>
                  </ParamValue>
               </param>
               <param desc="" key="NSECS">
                  <ParamValue index="0" selection="0">
                     <Option javaType="java.lang.String" matlabType="char" value="10"/>
                  </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="5567ae14-d0fa-453c-962b-5093c36ff425" bounds="331 156 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block">
            <port UUID="bfec7a0e-4473-4287-8298-6f093ba4e12b" bounds="0 0 10 10" name="" number="0" terminal="" type="input">
               <node UUID="fc125e65-2f8b-4814-a5a7-687e84eb165f" bounds="91 171 251 6" name="">
                  <pipe bezier="true" color="-16777012" dstPortUUID="bfec7a0e-4473-4287-8298-6f093ba4e12b" dstblock="New Block" dstport="0" srcPortUUID="2ff3fe5f-92f8-4626-a38d-fc141c3b11de" srcblock="sine wave" thickness="2.0"/>
               </node>
            </port>
            <port UUID="07c1ca92-5516-49c4-a116-baa97429941e" bounds="0 0 10 10" name="" number="1" terminal="" type="input">
               <node UUID="5ae7de67-6b18-4af1-acb1-4ede16a64873" bounds="258 183 84 35" name="">
                  <pipe bezier="true" color="-3657166" dstPortUUID="07c1ca92-5516-49c4-a116-baa97429941e" dstblock="New Block" dstport="1" srcPortUUID="b43febbc-ec54-4a22-a8cc-0e9c40d85b3f" srcblock="a2" thickness="2.0"/>
               </node>
            </port>
            <port UUID="4e7fbb75-72a8-4579-9f73-ca6a6b845e20" bounds="0 0 10 10" name="" number="2" terminal="" type="input">
               <node UUID="651bf8f7-c08e-4a2e-a8b9-f3c2ff88f2d2" bounds="258 195 84 104" name="">
                  <pipe bezier="true" color="-3657166" dstPortUUID="4e7fbb75-72a8-4579-9f73-ca6a6b845e20" dstblock="New Block" dstport="2" srcPortUUID="cb239054-eb1c-40ab-9954-6a3a8f0dab41" srcblock="a3" thickness="2.0"/>
               </node>
            </port>
            <LTPDAalgorithm mcategory="Output" mclass="ao" mname="iplot" mpackage="" mversion="" portdims="1 -1 0 -1"/>
            <plist UUID="f3a90fe4-7540-49b1-899d-1db9ca3f3f6b" created="-1" description="" name="none">
               <param desc="" key="Markers">
                  <ParamValue index="0" selection="0">
                     <Option javaType="java.lang.String" matlabType="char" value="{'x', 'o', 's'}"/>
                  </ParamValue>
               </param>
               <param desc="" key="XRanges">
                  <ParamValue index="0" selection="0">
                     <Option javaType="java.lang.String" matlabType="char" value="[0 0.1]"/>
                  </ParamValue>
               </param>
            </plist>
         </block>
         <block UUID="ca7e633a-6e97-4890-a3c7-370865875a4d" bounds="175 188 94 52" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="a2">
            <port UUID="6f0210e9-ca5d-4e61-bb73-25d1fa3555db" bounds="0 0 10 10" name="" number="0" terminal="" type="input">
               <node UUID="4a5841c7-3a92-47ef-b8be-f3c735aa92c0" bounds="91 171 96 47" name="">
                  <pipe bezier="true" color="-16777012" dstPortUUID="6f0210e9-ca5d-4e61-bb73-25d1fa3555db" dstblock="a2" dstport="0" srcPortUUID="2ff3fe5f-92f8-4626-a38d-fc141c3b11de" srcblock="sine wave" thickness="2.0"/>
               </node>
            </port>
            <port UUID="b43febbc-ec54-4a22-a8cc-0e9c40d85b3f" bounds="0 0 10 10" name="" number="0" terminal="" type="output">
               <node UUID="5ae7de67-6b18-4af1-acb1-4ede16a64873" bounds="258 183 84 35" name="">
                  <pipe bezier="true" color="-3657166" dstPortUUID="07c1ca92-5516-49c4-a116-baa97429941e" dstblock="New Block" dstport="1" srcPortUUID="b43febbc-ec54-4a22-a8cc-0e9c40d85b3f" srcblock="a2" thickness="2.0"/>
               </node>
            </port>
            <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="downsample" mpackage="" mversion="" portdims="1 -1 1 -1"/>
            <plist UUID="3c85454d-d8a4-461f-a06b-ce4afccf2a8a" created="-1" description="" name="none">
               <param desc="" key="FACTOR">
                  <ParamValue index="0" selection="0">
                     <Option javaType="java.lang.String" matlabType="char" value="2"/>
                  </ParamValue>
               </param>
               <param desc="" key="OFFSET">
                  <ParamValue index="0" selection="0">
                     <Option javaType="java.lang.String" matlabType="char" value="0"/>
                  </ParamValue>
               </param>
            </plist>
         </block>
         <block UUID="c5dd3038-6a62-48d6-ac9e-ac433265eb15" bounds="175 269 94 52" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="a3">
            <port UUID="0dc127e9-ae13-4adf-8b9a-5d61aaf01798" bounds="0 0 10 10" name="" number="0" terminal="" type="input">
               <node UUID="5aea12ee-6112-421f-a928-4f02711df27c" bounds="91 171 96 128" name="">
                  <pipe bezier="true" color="-16777012" dstPortUUID="0dc127e9-ae13-4adf-8b9a-5d61aaf01798" dstblock="a3" dstport="0" srcPortUUID="2ff3fe5f-92f8-4626-a38d-fc141c3b11de" srcblock="sine wave" thickness="2.0"/>
               </node>
            </port>
            <port UUID="cb239054-eb1c-40ab-9954-6a3a8f0dab41" bounds="0 0 10 10" name="" number="0" terminal="" type="output">
               <node UUID="651bf8f7-c08e-4a2e-a8b9-f3c2ff88f2d2" bounds="258 195 84 104" name="">
                  <pipe bezier="true" color="-3657166" dstPortUUID="4e7fbb75-72a8-4579-9f73-ca6a6b845e20" dstblock="New Block" dstport="2" srcPortUUID="cb239054-eb1c-40ab-9954-6a3a8f0dab41" srcblock="a3" thickness="2.0"/>
               </node>
            </port>
            <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="downsample" mpackage="" mversion="" portdims="1 -1 1 -1"/>
            <plist UUID="424b10f6-c78b-432b-bda1-89fb6f93f595" created="-1" description="" name="none">
               <param desc="" key="FACTOR">
                  <ParamValue index="0" selection="0">
                     <Option javaType="java.lang.String" matlabType="char" value="2"/>
                  </ParamValue>
               </param>
               <param desc="" key="OFFSET">
                  <ParamValue index="0" selection="0">
                     <Option javaType="java.lang.String" matlabType="char" value="1"/>
                  </ParamValue>
               </param>
            </plist>
         </block>
      </canvas>
   </document>
   <ExecutionPlan/>
</LTPDAworkbench>