comparison m-toolbox/test/pipelines/test_ao_polyfit.lwb @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 <?xml version="1.0" encoding="utf-8"?>
2 <LTPDAworkbench filepath="/Users/hewitson/working/ltp/ltpda/software/m-toolbox/test/pipelines/test_ao_polyfit.lwb" name="test_ao_polyfit.lwb*" version="0.4">
3 <document UUID="ef2d22d6-61af-4f75-a9c7-b590a1cf1ea8" title="Polynomial Fitting" visible="true" windowHeight="523" windowState="maximized" windowWidth="521" windowX="0" windowY="0">
4 <canvas name="Polynomial Fitting" zoomFactor="1.0">
5 <CanvasInfo author="hewitson" created="2009-01-31 16:22:26" description="Test the polyfit method of the AO class.&#xA;&#xA;We can also subtract the resulting polynomial and compare&#xA;the result to the output of detrend." lastModified="2009-07-24 09:38:36"/>
6 <block UUID="be378321-b109-412e-bbee-8aabac30af27" bounds="0 210 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="sine wave">
7 <port UUID="8b2d2ddb-a018-466f-871e-40e79147258d" bounds="0 0 10 10" name="" number="0" terminal="" type="output">
8 <node UUID="96349dfe-57a2-410e-915a-f0decabcd468" bounds="48 237 220 36" name="">
9 <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"/>
10 <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"/>
11 <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"/>
12 <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"/>
13 </node>
14 </port>
15 <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"/>
16 <plist UUID="b2696cee-86b0-4f5b-ae40-c5000593dac0" created="-1" description="" name="none">
17 <param desc="" key="TSFCN">
18 <ParamValue index="0" selection="0">
19 <Option javaType="java.lang.String" matlabType="char" value="polyval([3 2 1], t) + 1000*randn(size(t))"/>
20 </ParamValue>
21 </param>
22 <param desc="" key="FS">
23 <ParamValue index="0" selection="0">
24 <Option javaType="java.lang.String" matlabType="char" value="fs"/>
25 </ParamValue>
26 </param>
27 <param desc="" key="NSECS">
28 <ParamValue index="0" selection="0">
29 <Option javaType="java.lang.String" matlabType="char" value="nsecs"/>
30 </ParamValue>
31 </param>
32 <param desc="" key="T0">
33 <ParamValue index="0" selection="0">
34 <Option javaType="java.lang.String" matlabType="char" value="1970-01-01 00:00:00.000"/>
35 </ParamValue>
36 </param>
37 <param desc="" key="XUNITS">
38 <ParamValue index="0" selection="0">
39 <Option javaType="java.lang.String" matlabType="char" value="s"/>
40 </ParamValue>
41 </param>
42 <param desc="" key="YUNITS">
43 <ParamValue index="0" selection="0">
44 <Option javaType="java.lang.String" matlabType="char" value=""/>
45 </ParamValue>
46 </param>
47 </plist>
48 </block>
49 <block UUID="68ed872a-8a86-4497-a36e-325e66942ad6" bounds="81 146 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block">
50 <port UUID="3ef006c8-7186-4017-b7c5-d5850336d732" bounds="0 0 10 10" name="" number="0" terminal="" type="input">
51 <node UUID="93fd5b42-4a8b-4323-abb1-f8b8818c0c96" bounds="48 173 44 70" name="">
52 <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"/>
53 </node>
54 </port>
55 <port UUID="1fdcb0a4-8312-458e-ba2d-8cbee3681f73" bounds="0 0 10 10" name="" number="0" terminal="" type="output">
56 <node UUID="24146fb9-945d-47d1-bd33-091c9f2f4e58" bounds="129 168 46 11" name="">
57 <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"/>
58 </node>
59 </port>
60 <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="polyfit" mpackage="" mversion="" portdims="1 -1 1 -1"/>
61 <plist UUID="7ba7177d-4272-44b7-ad51-c273e65ce022" created="-1" description="" name="none">
62 <param desc="" key="N">
63 <ParamValue index="0" selection="0">
64 <Option javaType="java.lang.String" matlabType="char" value="4"/>
65 </ParamValue>
66 </param>
67 <param desc="" key="COEFFS">
68 <ParamValue index="0" selection="0">
69 <Option javaType="java.lang.String" matlabType="char" value="[]"/>
70 </ParamValue>
71 </param>
72 </plist>
73 </block>
74 <block UUID="358e2f6b-70db-49f2-b968-06a6f6d37e50" bounds="342 193 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block_2">
75 <port UUID="60719cb5-624d-402e-bbe6-7622f4a7dbf0" bounds="0 0 10 10" name="" number="0" terminal="" type="input">
76 <node UUID="2ed37d93-6759-481a-8627-93743405b335" bounds="48 212 305 31" name="">
77 <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"/>
78 </node>
79 </port>
80 <port UUID="df7608a4-4bc9-4a66-b121-c760b6740300" bounds="0 0 10 10" name="" number="1" terminal="" type="input">
81 <node UUID="7c832218-5e9d-4721-b40a-8fd183bb5678" bounds="222 168 131 66" name="">
82 <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"/>
83 </node>
84 </port>
85 <LTPDAalgorithm mcategory="Output" mclass="ao" mname="iplot" mpackage="" mversion="" portdims="1 -1 0 -1"/>
86 <plist UUID="beabd630-137e-4448-be48-6aa8c89106a3" created="-1" description="" name="none">
87 <param desc="" key="COLORS">
88 <ParamValue index="0" selection="0">
89 <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]}"/>
90 </ParamValue>
91 </param>
92 <param desc="" key="ARRANGEMENT">
93 <ParamValue index="0" selection="0">
94 <Option javaType="java.lang.String" matlabType="char" value="stacked"/>
95 </ParamValue>
96 </param>
97 <param desc="" key="FUNCTION">
98 <ParamValue index="0" selection="0">
99 <Option javaType="java.lang.String" matlabType="char" value="plot"/>
100 </ParamValue>
101 </param>
102 <param desc="" key="LEGENDLOCATION">
103 <ParamValue index="0" selection="0">
104 <Option javaType="java.lang.String" matlabType="char" value="NorthEast"/>
105 </ParamValue>
106 </param>
107 <param desc="" key="XERRL">
108 <ParamValue index="0" selection="0">
109 <Option javaType="java.lang.String" matlabType="char" value="[]"/>
110 </ParamValue>
111 </param>
112 <param desc="" key="XERRU">
113 <ParamValue index="0" selection="0">
114 <Option javaType="java.lang.String" matlabType="char" value="[]"/>
115 </ParamValue>
116 </param>
117 <param desc="" key="YERRU">
118 <ParamValue index="0" selection="0">
119 <Option javaType="java.lang.String" matlabType="char" value="[]"/>
120 </ParamValue>
121 </param>
122 <param desc="" key="YERRL">
123 <ParamValue index="0" selection="0">
124 <Option javaType="java.lang.String" matlabType="char" value="[]"/>
125 </ParamValue>
126 </param>
127 <param desc="" key="XLABEL">
128 <ParamValue index="0" selection="0">
129 <Option javaType="java.lang.String" matlabType="char" value="Time"/>
130 </ParamValue>
131 </param>
132 <param desc="" key="YLABEL">
133 <ParamValue index="0" selection="0">
134 <Option javaType="java.lang.String" matlabType="char" value="Amplitude"/>
135 </ParamValue>
136 </param>
137 </plist>
138 </block>
139 <block UUID="1d83ad85-6332-4c4a-bc62-6038878d77d3" bounds="342 288 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block_3">
140 <port UUID="271dfc5e-0af4-4693-944a-87f649716bb6" bounds="0 0 10 10" name="" number="0" terminal="" type="input">
141 <node UUID="6c13ace2-e923-4b72-9fed-66cce289b8bf" bounds="305 275 48 38" name="">
142 <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"/>
143 </node>
144 </port>
145 <port UUID="66059437-f8e9-46ca-bbb9-63e185d7c3a8" bounds="0 0 10 10" name="" number="1" terminal="" type="input">
146 <node UUID="78de1161-e803-4bfc-abc1-d742f7d423de" bounds="180 310 173 19" name="">
147 <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"/>
148 </node>
149 </port>
150 <LTPDAalgorithm mcategory="Output" mclass="ao" mname="iplot" mpackage="" mversion="" portdims="1 -1 0 -1"/>
151 <plist UUID="f405144f-23a0-4ae1-b5e6-2c46295cedea" created="-1" description="" name="none">
152 <param desc="" key="COLORS">
153 <ParamValue index="0" selection="0">
154 <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]}"/>
155 </ParamValue>
156 </param>
157 <param desc="" key="ARRANGEMENT">
158 <ParamValue index="0" selection="0">
159 <Option javaType="java.lang.String" matlabType="char" value="stacked"/>
160 </ParamValue>
161 </param>
162 <param desc="" key="FUNCTION">
163 <ParamValue index="0" selection="0">
164 <Option javaType="java.lang.String" matlabType="char" value="plot"/>
165 </ParamValue>
166 </param>
167 <param desc="" key="LEGENDLOCATION">
168 <ParamValue index="0" selection="0">
169 <Option javaType="java.lang.String" matlabType="char" value="NorthEast"/>
170 </ParamValue>
171 </param>
172 <param desc="" key="XERRL">
173 <ParamValue index="0" selection="0">
174 <Option javaType="java.lang.String" matlabType="char" value="[]"/>
175 </ParamValue>
176 </param>
177 <param desc="" key="XERRU">
178 <ParamValue index="0" selection="0">
179 <Option javaType="java.lang.String" matlabType="char" value="[]"/>
180 </ParamValue>
181 </param>
182 <param desc="" key="YERRU">
183 <ParamValue index="0" selection="0">
184 <Option javaType="java.lang.String" matlabType="char" value="[]"/>
185 </ParamValue>
186 </param>
187 <param desc="" key="YERRL">
188 <ParamValue index="0" selection="0">
189 <Option javaType="java.lang.String" matlabType="char" value="[]"/>
190 </ParamValue>
191 </param>
192 <param desc="" key="XLABEL">
193 <ParamValue index="0" selection="0">
194 <Option javaType="java.lang.String" matlabType="char" value="Time"/>
195 </ParamValue>
196 </param>
197 <param desc="" key="YLABEL">
198 <ParamValue index="0" selection="0">
199 <Option javaType="java.lang.String" matlabType="char" value="Amplitude"/>
200 </ParamValue>
201 </param>
202 <param desc="" key="linestyles">
203 <ParamValue index="0" selection="0">
204 <Option javaType="java.lang.String" matlabType="char" value="{'-', '--'}"/>
205 </ParamValue>
206 </param>
207 </plist>
208 </block>
209 <block UUID="92035f14-bae6-4513-ab79-35a78c218046" bounds="132 283 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block_4">
210 <port UUID="ffe9af5b-2ba9-4c3c-a279-e303042301eb" bounds="0 0 10 10" name="" number="0" terminal="" type="input">
211 <node UUID="12c85809-3409-41d7-b1c3-c88115910e40" bounds="48 237 95 79" name="">
212 <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"/>
213 </node>
214 </port>
215 <port UUID="91eeefb3-0717-47bd-8131-df7c4e860820" bounds="0 0 10 10" name="" number="0" terminal="" type="output">
216 <node UUID="78de1161-e803-4bfc-abc1-d742f7d423de" bounds="180 310 173 19" name="">
217 <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"/>
218 </node>
219 </port>
220 <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="detrend" mpackage="" mversion="" portdims="1 -1 1 -1"/>
221 <plist UUID="cbaafb61-9f5b-48fc-b544-9dfa72b294b8" created="-1" description="" name="none">
222 <param desc="" key="N">
223 <ParamValue index="0" selection="0">
224 <Option javaType="java.lang.String" matlabType="char" value="4"/>
225 </ParamValue>
226 </param>
227 </plist>
228 </block>
229 <block UUID="f5ee38e4-3438-4b03-887b-fdb0e8f5e23e" bounds="257 248 60 60" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block_1">
230 <port UUID="137f71ac-02ad-4fbb-a109-8a31a426e6ff" bounds="0 0 10 10" name="" number="0" terminal="" type="input">
231 <node UUID="96349dfe-57a2-410e-915a-f0decabcd468" bounds="48 237 220 36" name="">
232 <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"/>
233 </node>
234 </port>
235 <port UUID="4840c296-c378-4d3c-a816-2767dc40cf12" bounds="0 0 10 10" name="" number="1" terminal="" type="input">
236 <node UUID="f5bdca88-8b41-43ed-a6b4-e05064e03457" bounds="222 168 46 121" name="">
237 <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"/>
238 </node>
239 </port>
240 <port UUID="f471027c-9c1e-47eb-b963-70b0feeb6a0b" bounds="0 0 10 10" name="" number="0" terminal="" type="output">
241 <node UUID="6c13ace2-e923-4b72-9fed-66cce289b8bf" bounds="305 275 48 38" name="">
242 <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"/>
243 </node>
244 </port>
245 <LTPDAalgorithm mcategory="Arithmetic Operator" mclass="ao" mname="minus" mpackage="" mversion="" portdims="2 -1 1 -1"/>
246 <plist UUID="ff9609ff-c386-4490-8fe2-616ea85d64cb" created="-1" description="" name="none"/>
247 </block>
248 <block UUID="9a68c05f-ec03-4aa2-9a30-2707a11da99e" bounds="164 139 70 65" commentedOut="false" keepResult="true" keepresult="true" modifier="false" name="New Block_5">
249 <port UUID="518ad9a0-604d-4d9e-a759-92453de98839" bounds="0 0 10 10" name="" number="0" terminal="" type="input">
250 <node UUID="24146fb9-945d-47d1-bd33-091c9f2f4e58" bounds="129 168 46 11" name="">
251 <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"/>
252 </node>
253 </port>
254 <port UUID="675e61ab-44a3-4be6-89f0-06403c39f1cf" bounds="0 0 10 10" name="" number="0" terminal="" type="output">
255 <node UUID="7c832218-5e9d-4721-b40a-8fd183bb5678" bounds="222 168 131 66" name="">
256 <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"/>
257 <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"/>
258 </node>
259 </port>
260 <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"/>
261 <plist UUID="3963eddc-de6a-47cd-bd09-89049c477559" created="-1" description="" name="none">
262 <param desc="" key="POLYVAL">
263 <ParamValue index="0" selection="0">
264 <Option javaType="java.lang.String" matlabType="char" value="PORT_0"/>
265 </ParamValue>
266 </param>
267 <param desc="" key="NSECS">
268 <ParamValue index="0" selection="0">
269 <Option javaType="java.lang.String" matlabType="char" value="nsecs"/>
270 </ParamValue>
271 </param>
272 <param desc="" key="FS">
273 <ParamValue index="0" selection="0">
274 <Option javaType="java.lang.String" matlabType="char" value="fs"/>
275 </ParamValue>
276 </param>
277 <param desc="" key="T">
278 <ParamValue index="0" selection="0">
279 <Option javaType="java.lang.String" matlabType="char" value="[]"/>
280 </ParamValue>
281 </param>
282 <param desc="" key="XUNITS">
283 <ParamValue index="0" selection="0">
284 <Option javaType="java.lang.String" matlabType="char" value="s"/>
285 </ParamValue>
286 </param>
287 <param desc="" key="YUNITS">
288 <ParamValue index="0" selection="0">
289 <Option javaType="java.lang.String" matlabType="char" value=""/>
290 </ParamValue>
291 </param>
292 </plist>
293 </block>
294 <mconstant UUID="c692c9d4-9f01-4c6a-bc24-8bef45fb4e1f" bounds="0 435 60 60" expression="10" inputs="" name="fs" outputs=""/>
295 <mconstant UUID="ecb31361-d615-4f69-80f8-b4589c0e25fc" bounds="23 434 74 59" expression="100" inputs="" name="nsecs" outputs=""/>
296 </canvas>
297 </document>
298 <ExecutionPlan/>
299 </LTPDAworkbench>