Mercurial > hg > ltpda
view m-toolbox/test/pipelines/test_ao_polyfit.lwb @ 22:b11e88004fca database-connection-manager
Update collection.fromRepository
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 16:20:06 +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_polyfit.lwb" name="test_ao_polyfit.lwb*" version="0.4"> <document UUID="ef2d22d6-61af-4f75-a9c7-b590a1cf1ea8" title="Polynomial Fitting" visible="true" windowHeight="523" windowState="maximized" windowWidth="521" windowX="0" windowY="0"> <canvas name="Polynomial Fitting" zoomFactor="1.0"> <CanvasInfo author="hewitson" created="2009-01-31 16:22:26" description="Test the polyfit method of the AO class.

We can also subtract the resulting polynomial and compare
the result to the output of detrend." lastModified="2009-07-24 09:38:36"/> <block UUID="be378321-b109-412e-bbee-8aabac30af27" bounds="0 210 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="sine wave"> <port UUID="8b2d2ddb-a018-466f-871e-40e79147258d" bounds="0 0 10 10" name="" number="0" terminal="" type="output"> <node UUID="96349dfe-57a2-410e-915a-f0decabcd468" bounds="48 237 220 36" name=""> <pipe bezier="true" color="-16777012" dstPortUUID="3ef006c8-7186-4017-b7c5-d5850336d732" dstblock="New Block" dstport="0" srcPortUUID="8b2d2ddb-a018-466f-871e-40e79147258d" srcblock="sine wave" thickness="2.0"/> <pipe bezier="true" color="-16777012" dstPortUUID="60719cb5-624d-402e-bbe6-7622f4a7dbf0" dstblock="New Block_2" dstport="0" srcPortUUID="8b2d2ddb-a018-466f-871e-40e79147258d" srcblock="sine wave" thickness="2.0"/> <pipe bezier="true" color="-16777012" dstPortUUID="ffe9af5b-2ba9-4c3c-a279-e303042301eb" dstblock="New Block_4" dstport="0" srcPortUUID="8b2d2ddb-a018-466f-871e-40e79147258d" srcblock="sine wave" thickness="2.0"/> <pipe bezier="true" color="-52429" dstPortUUID="137f71ac-02ad-4fbb-a109-8a31a426e6ff" dstblock="New Block_1" dstport="0" srcPortUUID="8b2d2ddb-a018-466f-871e-40e79147258d" srcblock="sine wave" thickness="2.0"/> </node> </port> <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"/> <plist UUID="b2696cee-86b0-4f5b-ae40-c5000593dac0" created="-1" description="" name="none"> <param desc="" key="TSFCN"> <ParamValue index="0" selection="0"> <Option javaType="java.lang.String" matlabType="char" value="polyval([3 2 1], t) + 1000*randn(size(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="68ed872a-8a86-4497-a36e-325e66942ad6" bounds="81 146 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block"> <port UUID="3ef006c8-7186-4017-b7c5-d5850336d732" bounds="0 0 10 10" name="" number="0" terminal="" type="input"> <node UUID="93fd5b42-4a8b-4323-abb1-f8b8818c0c96" bounds="48 173 44 70" name=""> <pipe bezier="true" color="-16777012" dstPortUUID="3ef006c8-7186-4017-b7c5-d5850336d732" dstblock="New Block" dstport="0" srcPortUUID="8b2d2ddb-a018-466f-871e-40e79147258d" srcblock="sine wave" thickness="2.0"/> </node> </port> <port UUID="1fdcb0a4-8312-458e-ba2d-8cbee3681f73" bounds="0 0 10 10" name="" number="0" terminal="" type="output"> <node UUID="24146fb9-945d-47d1-bd33-091c9f2f4e58" bounds="129 168 46 11" name=""> <pipe bezier="true" color="-52429" dstPortUUID="518ad9a0-604d-4d9e-a759-92453de98839" dstblock="New Block_5" dstport="0" srcPortUUID="1fdcb0a4-8312-458e-ba2d-8cbee3681f73" srcblock="New Block" thickness="2.0"/> </node> </port> <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="polyfit" mpackage="" mversion="" portdims="1 -1 1 -1"/> <plist UUID="7ba7177d-4272-44b7-ad51-c273e65ce022" created="-1" description="" name="none"> <param desc="" key="N"> <ParamValue index="0" selection="0"> <Option javaType="java.lang.String" matlabType="char" value="4"/> </ParamValue> </param> <param desc="" key="COEFFS"> <ParamValue index="0" selection="0"> <Option javaType="java.lang.String" matlabType="char" value="[]"/> </ParamValue> </param> </plist> </block> <block UUID="358e2f6b-70db-49f2-b968-06a6f6d37e50" bounds="342 193 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block_2"> <port UUID="60719cb5-624d-402e-bbe6-7622f4a7dbf0" bounds="0 0 10 10" name="" number="0" terminal="" type="input"> <node UUID="2ed37d93-6759-481a-8627-93743405b335" bounds="48 212 305 31" name=""> <pipe bezier="true" color="-16777012" dstPortUUID="60719cb5-624d-402e-bbe6-7622f4a7dbf0" dstblock="New Block_2" dstport="0" srcPortUUID="8b2d2ddb-a018-466f-871e-40e79147258d" srcblock="sine wave" thickness="2.0"/> </node> </port> <port UUID="df7608a4-4bc9-4a66-b121-c760b6740300" bounds="0 0 10 10" name="" number="1" terminal="" type="input"> <node UUID="7c832218-5e9d-4721-b40a-8fd183bb5678" bounds="222 168 131 66" name=""> <pipe bezier="true" color="-52429" dstPortUUID="df7608a4-4bc9-4a66-b121-c760b6740300" dstblock="New Block_2" dstport="1" srcPortUUID="675e61ab-44a3-4be6-89f0-06403c39f1cf" srcblock="New Block_5" thickness="2.0"/> </node> </port> <LTPDAalgorithm mcategory="Output" mclass="ao" mname="iplot" mpackage="" mversion="" portdims="1 -1 0 -1"/> <plist UUID="beabd630-137e-4448-be48-6aa8c89106a3" 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> </plist> </block> <block UUID="1d83ad85-6332-4c4a-bc62-6038878d77d3" bounds="342 288 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block_3"> <port UUID="271dfc5e-0af4-4693-944a-87f649716bb6" bounds="0 0 10 10" name="" number="0" terminal="" type="input"> <node UUID="6c13ace2-e923-4b72-9fed-66cce289b8bf" bounds="305 275 48 38" name=""> <pipe bezier="true" color="-52429" dstPortUUID="271dfc5e-0af4-4693-944a-87f649716bb6" dstblock="New Block_3" dstport="0" srcPortUUID="f471027c-9c1e-47eb-b963-70b0feeb6a0b" srcblock="New Block_1" thickness="2.0"/> </node> </port> <port UUID="66059437-f8e9-46ca-bbb9-63e185d7c3a8" bounds="0 0 10 10" name="" number="1" terminal="" type="input"> <node UUID="78de1161-e803-4bfc-abc1-d742f7d423de" bounds="180 310 173 19" name=""> <pipe bezier="true" color="-3657166" dstPortUUID="66059437-f8e9-46ca-bbb9-63e185d7c3a8" dstblock="New Block_3" dstport="1" srcPortUUID="91eeefb3-0717-47bd-8131-df7c4e860820" srcblock="New Block_4" thickness="2.0"/> </node> </port> <LTPDAalgorithm mcategory="Output" mclass="ao" mname="iplot" mpackage="" mversion="" portdims="1 -1 0 -1"/> <plist UUID="f405144f-23a0-4ae1-b5e6-2c46295cedea" 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="linestyles"> <ParamValue index="0" selection="0"> <Option javaType="java.lang.String" matlabType="char" value="{'-', '--'}"/> </ParamValue> </param> </plist> </block> <block UUID="92035f14-bae6-4513-ab79-35a78c218046" bounds="132 283 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block_4"> <port UUID="ffe9af5b-2ba9-4c3c-a279-e303042301eb" bounds="0 0 10 10" name="" number="0" terminal="" type="input"> <node UUID="12c85809-3409-41d7-b1c3-c88115910e40" bounds="48 237 95 79" name=""> <pipe bezier="true" color="-16777012" dstPortUUID="ffe9af5b-2ba9-4c3c-a279-e303042301eb" dstblock="New Block_4" dstport="0" srcPortUUID="8b2d2ddb-a018-466f-871e-40e79147258d" srcblock="sine wave" thickness="2.0"/> </node> </port> <port UUID="91eeefb3-0717-47bd-8131-df7c4e860820" bounds="0 0 10 10" name="" number="0" terminal="" type="output"> <node UUID="78de1161-e803-4bfc-abc1-d742f7d423de" bounds="180 310 173 19" name=""> <pipe bezier="true" color="-3657166" dstPortUUID="66059437-f8e9-46ca-bbb9-63e185d7c3a8" dstblock="New Block_3" dstport="1" srcPortUUID="91eeefb3-0717-47bd-8131-df7c4e860820" srcblock="New Block_4" thickness="2.0"/> </node> </port> <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="detrend" mpackage="" mversion="" portdims="1 -1 1 -1"/> <plist UUID="cbaafb61-9f5b-48fc-b544-9dfa72b294b8" created="-1" description="" name="none"> <param desc="" key="N"> <ParamValue index="0" selection="0"> <Option javaType="java.lang.String" matlabType="char" value="4"/> </ParamValue> </param> </plist> </block> <block UUID="f5ee38e4-3438-4b03-887b-fdb0e8f5e23e" bounds="257 248 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block_1"> <port UUID="137f71ac-02ad-4fbb-a109-8a31a426e6ff" bounds="0 0 10 10" name="" number="0" terminal="" type="input"> <node UUID="96349dfe-57a2-410e-915a-f0decabcd468" bounds="48 237 220 36" name=""> <pipe bezier="true" color="-52429" dstPortUUID="137f71ac-02ad-4fbb-a109-8a31a426e6ff" dstblock="New Block_1" dstport="0" srcPortUUID="8b2d2ddb-a018-466f-871e-40e79147258d" srcblock="sine wave" thickness="2.0"/> </node> </port> <port UUID="4840c296-c378-4d3c-a816-2767dc40cf12" bounds="0 0 10 10" name="" number="1" terminal="" type="input"> <node UUID="f5bdca88-8b41-43ed-a6b4-e05064e03457" bounds="222 168 46 121" name=""> <pipe bezier="true" color="-52429" dstPortUUID="4840c296-c378-4d3c-a816-2767dc40cf12" dstblock="New Block_1" dstport="1" srcPortUUID="675e61ab-44a3-4be6-89f0-06403c39f1cf" srcblock="New Block_5" thickness="2.0"/> </node> </port> <port UUID="f471027c-9c1e-47eb-b963-70b0feeb6a0b" bounds="0 0 10 10" name="" number="0" terminal="" type="output"> <node UUID="6c13ace2-e923-4b72-9fed-66cce289b8bf" bounds="305 275 48 38" name=""> <pipe bezier="true" color="-52429" dstPortUUID="271dfc5e-0af4-4693-944a-87f649716bb6" dstblock="New Block_3" dstport="0" srcPortUUID="f471027c-9c1e-47eb-b963-70b0feeb6a0b" srcblock="New Block_1" thickness="2.0"/> </node> </port> <LTPDAalgorithm mcategory="Arithmetic Operator" mclass="ao" mname="minus" mpackage="" mversion="" portdims="2 -1 1 -1"/> <plist UUID="ff9609ff-c386-4490-8fe2-616ea85d64cb" created="-1" description="" name="none"/> </block> <block UUID="9a68c05f-ec03-4aa2-9a30-2707a11da99e" bounds="164 139 70 65" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block_5"> <port UUID="518ad9a0-604d-4d9e-a759-92453de98839" bounds="0 0 10 10" name="" number="0" terminal="" type="input"> <node UUID="24146fb9-945d-47d1-bd33-091c9f2f4e58" bounds="129 168 46 11" name=""> <pipe bezier="true" color="-52429" dstPortUUID="518ad9a0-604d-4d9e-a759-92453de98839" dstblock="New Block_5" dstport="0" srcPortUUID="1fdcb0a4-8312-458e-ba2d-8cbee3681f73" srcblock="New Block" thickness="2.0"/> </node> </port> <port UUID="675e61ab-44a3-4be6-89f0-06403c39f1cf" bounds="0 0 10 10" name="" number="0" terminal="" type="output"> <node UUID="7c832218-5e9d-4721-b40a-8fd183bb5678" bounds="222 168 131 66" name=""> <pipe bezier="true" color="-52429" dstPortUUID="4840c296-c378-4d3c-a816-2767dc40cf12" dstblock="New Block_1" dstport="1" srcPortUUID="675e61ab-44a3-4be6-89f0-06403c39f1cf" srcblock="New Block_5" thickness="2.0"/> <pipe bezier="true" color="-52429" dstPortUUID="df7608a4-4bc9-4a66-b121-c760b6740300" dstblock="New Block_2" dstport="1" srcPortUUID="675e61ab-44a3-4be6-89f0-06403c39f1cf" srcblock="New Block_5" thickness="2.0"/> </node> </port> <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"/> <plist UUID="3963eddc-de6a-47cd-bd09-89049c477559" created="-1" description="" name="none"> <param desc="" key="POLYVAL"> <ParamValue index="0" selection="0"> <Option javaType="java.lang.String" matlabType="char" value="PORT_0"/> </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="FS"> <ParamValue index="0" selection="0"> <Option javaType="java.lang.String" matlabType="char" value="fs"/> </ParamValue> </param> <param desc="" key="T"> <ParamValue index="0" selection="0"> <Option javaType="java.lang.String" matlabType="char" value="[]"/> </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> <mconstant UUID="c692c9d4-9f01-4c6a-bc24-8bef45fb4e1f" bounds="0 435 60 60" expression="10" inputs="" name="fs" outputs=""/> <mconstant UUID="ecb31361-d615-4f69-80f8-b4589c0e25fc" bounds="23 434 74 59" expression="100" inputs="" name="nsecs" outputs=""/> </canvas> </document> <ExecutionPlan/> </LTPDAworkbench>