Mercurial > hg > ltpda
comparison m-toolbox/test/MPipeline/mdc1_tdcal.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/MPipeline/mdc1_tdcal.lwb" name="Untitled"> | |
3 <document name="MDC1 Time_domain" parentDiag="" visible="true" windowHeight="624" windowState="maximized" windowWidth="689" windowX="0" windowY="0" zoomFactor="1.0"> | |
4 <block bounds="370 0 60 60" inputs="0" name="a11xx" outputs="1"> | |
5 <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"> | |
6 <HelpText> % Update the predefined properties to get the right created time | |
7 </HelpText> | |
8 <sets> | |
9 <set name="Default"/> | |
10 <set name="From XML File"/> | |
11 <set name="From MAT File"/> | |
12 <set name="From ASCII File"/> | |
13 <set name="From Function"/> | |
14 <set name="From Values"/> | |
15 <set name="From Time-series Function"/> | |
16 <set name="From XY Function"/> | |
17 <set name="From Frequency-series Function"/> | |
18 <set name="From Window"/> | |
19 <set name="From Waveform"/> | |
20 <set name="From Polynomial"/> | |
21 <set name="From Repository"/> | |
22 <set name="From Plist"/> | |
23 <set name="From Pzmodel"/> | |
24 <set name="From Built-in Model"/> | |
25 </sets> | |
26 <plists> | |
27 <plist name="none"/> | |
28 <plist name="none"> | |
29 <param> | |
30 <key>FILENAME</key> | |
31 <val/> | |
32 <type>char</type> | |
33 </param> | |
34 </plist> | |
35 <plist name="none"> | |
36 <param> | |
37 <key>FILENAME</key> | |
38 <val/> | |
39 <type>char</type> | |
40 </param> | |
41 </plist> | |
42 <plist name="none"> | |
43 <param> | |
44 <key>FILENAME</key> | |
45 <val/> | |
46 <type>char</type> | |
47 </param> | |
48 <param> | |
49 <key>TYPE</key> | |
50 <val>tsdata</val> | |
51 <type>char</type> | |
52 </param> | |
53 <param> | |
54 <key>COLUMNS</key> | |
55 <val>[1 2]</val> | |
56 <type>double</type> | |
57 </param> | |
58 <param> | |
59 <key>XUNITS</key> | |
60 <val>[ unit(' s ') ]</val> | |
61 <type>unit</type> | |
62 </param> | |
63 <param> | |
64 <key>YUNITS</key> | |
65 <val>[ unit(' ') ]</val> | |
66 <type>unit</type> | |
67 </param> | |
68 <param> | |
69 <key>COMMENT_CHAR</key> | |
70 <val/> | |
71 <type>char</type> | |
72 </param> | |
73 <param> | |
74 <key>USE_FS</key> | |
75 <val/> | |
76 <type>char</type> | |
77 </param> | |
78 <param> | |
79 <key>ROBUST</key> | |
80 <val>yes</val> | |
81 <type>char</type> | |
82 </param> | |
83 </plist> | |
84 <plist name="none"> | |
85 <param> | |
86 <key>FCN</key> | |
87 <val>randn(100,1)</val> | |
88 <type>char</type> | |
89 </param> | |
90 <param> | |
91 <key>YUNITS</key> | |
92 <val>[ unit(' ') ]</val> | |
93 <type>unit</type> | |
94 </param> | |
95 </plist> | |
96 <plist name="none"> | |
97 <param> | |
98 <key>VALS</key> | |
99 <val>[]</val> | |
100 <type>double</type> | |
101 </param> | |
102 <param> | |
103 <key>N</key> | |
104 <val>1</val> | |
105 <type>double</type> | |
106 </param> | |
107 <param> | |
108 <key>DTYPE</key> | |
109 <val/> | |
110 <type>char</type> | |
111 </param> | |
112 <param> | |
113 <key>FS</key> | |
114 <val>[]</val> | |
115 <type>double</type> | |
116 </param> | |
117 <param> | |
118 <key>XVALS</key> | |
119 <val>[]</val> | |
120 <type>double</type> | |
121 </param> | |
122 <param> | |
123 <key>YVALS</key> | |
124 <val>[]</val> | |
125 <type>double</type> | |
126 </param> | |
127 <param> | |
128 <key>YUNITS</key> | |
129 <val/> | |
130 <type>char</type> | |
131 </param> | |
132 </plist> | |
133 <plist name="none"> | |
134 <param> | |
135 <key>TSFCN</key> | |
136 <val>t</val> | |
137 <type>char</type> | |
138 </param> | |
139 <param> | |
140 <key>FS</key> | |
141 <val>10</val> | |
142 <type>double</type> | |
143 </param> | |
144 <param> | |
145 <key>NSECS</key> | |
146 <val>1</val> | |
147 <type>double</type> | |
148 </param> | |
149 <param> | |
150 <key>T0</key> | |
151 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
152 <type>time</type> | |
153 </param> | |
154 <param> | |
155 <key>XUNITS</key> | |
156 <val>[ unit(' s ') ]</val> | |
157 <type>unit</type> | |
158 </param> | |
159 <param> | |
160 <key>YUNITS</key> | |
161 <val>[ unit(' ') ]</val> | |
162 <type>unit</type> | |
163 </param> | |
164 </plist> | |
165 <plist name="none"> | |
166 <param> | |
167 <key>XYFCN</key> | |
168 <val>x</val> | |
169 <type>char</type> | |
170 </param> | |
171 <param> | |
172 <key>X</key> | |
173 <val>[]</val> | |
174 <type>double</type> | |
175 </param> | |
176 <param> | |
177 <key>XUNITS</key> | |
178 <val>[ unit(' ') ]</val> | |
179 <type>unit</type> | |
180 </param> | |
181 <param> | |
182 <key>YUNITS</key> | |
183 <val>[ unit(' ') ]</val> | |
184 <type>unit</type> | |
185 </param> | |
186 </plist> | |
187 <plist name="none"> | |
188 <param> | |
189 <key>FSFCN</key> | |
190 <val>f</val> | |
191 <type>char</type> | |
192 </param> | |
193 <param> | |
194 <key>F1</key> | |
195 <val>1e-09</val> | |
196 <type>double</type> | |
197 </param> | |
198 <param> | |
199 <key>F2</key> | |
200 <val>5</val> | |
201 <type>double</type> | |
202 </param> | |
203 <param> | |
204 <key>NF</key> | |
205 <val>1000</val> | |
206 <type>double</type> | |
207 </param> | |
208 <param> | |
209 <key>SCALE</key> | |
210 <val>log</val> | |
211 <type>char</type> | |
212 </param> | |
213 <param> | |
214 <key>F</key> | |
215 <val>[]</val> | |
216 <type>double</type> | |
217 </param> | |
218 <param> | |
219 <key>XUNITS</key> | |
220 <val>[ unit(' Hz ') ]</val> | |
221 <type>unit</type> | |
222 </param> | |
223 <param> | |
224 <key>YUNITS</key> | |
225 <val>[ unit(' ') ]</val> | |
226 <type>unit</type> | |
227 </param> | |
228 </plist> | |
229 <plist name="none"> | |
230 <param> | |
231 <key>WIN</key> | |
232 <val> specwin('Hanning', 100)</val> | |
233 <type>specwin</type> | |
234 </param> | |
235 <param> | |
236 <key>YUNITS</key> | |
237 <val>[ unit(' ') ]</val> | |
238 <type>unit</type> | |
239 </param> | |
240 </plist> | |
241 <plist name="none"> | |
242 <param> | |
243 <key>WAVEFORM</key> | |
244 <val>sine wave</val> | |
245 <type>char</type> | |
246 </param> | |
247 <param> | |
248 <key>A</key> | |
249 <val>1</val> | |
250 <type>double</type> | |
251 </param> | |
252 <param> | |
253 <key>F</key> | |
254 <val>1.23</val> | |
255 <type>double</type> | |
256 </param> | |
257 <param> | |
258 <key>PHI</key> | |
259 <val>0</val> | |
260 <type>double</type> | |
261 </param> | |
262 <param> | |
263 <key>FS</key> | |
264 <val>10</val> | |
265 <type>double</type> | |
266 </param> | |
267 <param> | |
268 <key>NSECS</key> | |
269 <val>10</val> | |
270 <type>double</type> | |
271 </param> | |
272 <param> | |
273 <key>T0</key> | |
274 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
275 <type>time</type> | |
276 </param> | |
277 <param> | |
278 <key>TOFF</key> | |
279 <val>0</val> | |
280 <type>double</type> | |
281 </param> | |
282 <param> | |
283 <key>XUNITS</key> | |
284 <val>[ unit(' s ') ]</val> | |
285 <type>unit</type> | |
286 </param> | |
287 <param> | |
288 <key>YUNITS</key> | |
289 <val>[ unit(' ') ]</val> | |
290 <type>unit</type> | |
291 </param> | |
292 </plist> | |
293 <plist name="none"> | |
294 <param> | |
295 <key>POLYVAL</key> | |
296 <val>[-0.0001 0.02 -1 -1]</val> | |
297 <type>double</type> | |
298 </param> | |
299 <param> | |
300 <key>NSECS</key> | |
301 <val>10</val> | |
302 <type>double</type> | |
303 </param> | |
304 <param> | |
305 <key>FS</key> | |
306 <val>10</val> | |
307 <type>double</type> | |
308 </param> | |
309 <param> | |
310 <key>T</key> | |
311 <val>[]</val> | |
312 <type>double</type> | |
313 </param> | |
314 <param> | |
315 <key>XUNITS</key> | |
316 <val>[ unit(' s ') ]</val> | |
317 <type>unit</type> | |
318 </param> | |
319 <param> | |
320 <key>YUNITS</key> | |
321 <val>[ unit(' ') ]</val> | |
322 <type>unit</type> | |
323 </param> | |
324 </plist> | |
325 <plist name="none"> | |
326 <param> | |
327 <key>HOSTNAME</key> | |
328 <val>localhost</val> | |
329 <type>char</type> | |
330 </param> | |
331 <param> | |
332 <key>DATABASE</key> | |
333 <val>ltpda</val> | |
334 <type>char</type> | |
335 </param> | |
336 <param> | |
337 <key>ID</key> | |
338 <val>[]</val> | |
339 <type>double</type> | |
340 </param> | |
341 <param> | |
342 <key>BINARY</key> | |
343 <val>no</val> | |
344 <type>char</type> | |
345 </param> | |
346 </plist> | |
347 <plist name="none"> | |
348 <param> | |
349 <key>PLIST</key> | |
350 <val>(empty-plist)</val> | |
351 <type>plist</type> | |
352 </param> | |
353 </plist> | |
354 <plist name="none"> | |
355 <param> | |
356 <key>PZMODEL</key> | |
357 <val>pzmodel(none)</val> | |
358 <type>pzmodel</type> | |
359 </param> | |
360 <param> | |
361 <key>NSECS</key> | |
362 <val>0</val> | |
363 <type>double</type> | |
364 </param> | |
365 <param> | |
366 <key>FS</key> | |
367 <val>0</val> | |
368 <type>double</type> | |
369 </param> | |
370 <param> | |
371 <key>XUNITS</key> | |
372 <val>[ unit(' s ') ]</val> | |
373 <type>unit</type> | |
374 </param> | |
375 <param> | |
376 <key>YUNITS</key> | |
377 <val>[ unit(' ') ]</val> | |
378 <type>unit</type> | |
379 </param> | |
380 </plist> | |
381 <plist name="none"> | |
382 <param> | |
383 <key>BUILT-IN</key> | |
384 <val/> | |
385 <type>char</type> | |
386 </param> | |
387 </plist> | |
388 </plists> | |
389 </LTPDAalgorithm> | |
390 <plist name="none"> | |
391 <param> | |
392 <key>FILENAME</key> | |
393 <val>a11xx.xml</val> | |
394 <type>char</type> | |
395 </param> | |
396 <param> | |
397 <key>XUNITS</key> | |
398 <val>s</val> | |
399 <type>char</type> | |
400 </param> | |
401 <param> | |
402 <key>YUNITS</key> | |
403 <val>m</val> | |
404 <type>char</type> | |
405 </param> | |
406 </plist> | |
407 <port number="0" terminal="" type="output"> | |
408 <node> | |
409 <pipe color="-3657166" dstblock="sqrt1" dstport="0" srcblock="a11xx" thickness="2.0"/> | |
410 </node> | |
411 </port> | |
412 </block> | |
413 <block bounds="470 0 60 60" inputs="1" name="sqrt1" outputs="1"> | |
414 <LTPDAalgorithm mcategory="Operator" mclass="ao" mname="sqrt" mpackage="" mversion="" portdims="1 -1 1 -1"> | |
415 <HelpText> SQRT computes the square root of the data in the AO. | |
416 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
417 | |
418 DESCRIPTION: SQRT computes the square root of the data in the AO. | |
419 | |
420 CALL: ao_out = sqrt(ao_in); | |
421 ao_out = sqrt(ao_in, pl); | |
422 | |
423 PARAMETERS: see help for data2D/applymethod for additional parameters | |
424 | |
425 M-FILE INFO: Get information about this methods by calling | |
426 >> ao.getInfo('sqrt') | |
427 | |
428 Get information about a specified set-plist by calling: | |
429 >> ao.getInfo('sqrt', 'None') | |
430 | |
431 VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ | |
432 | |
433 HISTORY: 12-03-07 M Hewitson | |
434 Creation | |
435 | |
436 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
437 </HelpText> | |
438 <sets> | |
439 <set name="Default"/> | |
440 </sets> | |
441 <plists> | |
442 <plist name="none"> | |
443 <param> | |
444 <key>AXIS</key> | |
445 <val>y</val> | |
446 <type>char</type> | |
447 </param> | |
448 </plist> | |
449 </plists> | |
450 </LTPDAalgorithm> | |
451 <plist name="none"> | |
452 <param> | |
453 <key>AXIS</key> | |
454 <val>y</val> | |
455 <type>char</type> | |
456 </param> | |
457 </plist> | |
458 <port number="0" terminal="" type="output"> | |
459 <node> | |
460 <pipe color="-3657166" dstblock="plot" dstport="2" srcblock="sqrt1" thickness="2.0"/> | |
461 </node> | |
462 </port> | |
463 </block> | |
464 <block bounds="410 100 60 60" inputs="0" name="a22xx" outputs="1"> | |
465 <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"> | |
466 <HelpText> % Update the predefined properties to get the right created time | |
467 </HelpText> | |
468 <sets> | |
469 <set name="Default"/> | |
470 <set name="From XML File"/> | |
471 <set name="From MAT File"/> | |
472 <set name="From ASCII File"/> | |
473 <set name="From Function"/> | |
474 <set name="From Values"/> | |
475 <set name="From Time-series Function"/> | |
476 <set name="From XY Function"/> | |
477 <set name="From Frequency-series Function"/> | |
478 <set name="From Window"/> | |
479 <set name="From Waveform"/> | |
480 <set name="From Polynomial"/> | |
481 <set name="From Repository"/> | |
482 <set name="From Plist"/> | |
483 <set name="From Pzmodel"/> | |
484 <set name="From Built-in Model"/> | |
485 </sets> | |
486 <plists> | |
487 <plist name="none"/> | |
488 <plist name="none"> | |
489 <param> | |
490 <key>FILENAME</key> | |
491 <val/> | |
492 <type>char</type> | |
493 </param> | |
494 </plist> | |
495 <plist name="none"> | |
496 <param> | |
497 <key>FILENAME</key> | |
498 <val/> | |
499 <type>char</type> | |
500 </param> | |
501 </plist> | |
502 <plist name="none"> | |
503 <param> | |
504 <key>FILENAME</key> | |
505 <val/> | |
506 <type>char</type> | |
507 </param> | |
508 <param> | |
509 <key>TYPE</key> | |
510 <val>tsdata</val> | |
511 <type>char</type> | |
512 </param> | |
513 <param> | |
514 <key>COLUMNS</key> | |
515 <val>[1 2]</val> | |
516 <type>double</type> | |
517 </param> | |
518 <param> | |
519 <key>XUNITS</key> | |
520 <val>[ unit(' s ') ]</val> | |
521 <type>unit</type> | |
522 </param> | |
523 <param> | |
524 <key>YUNITS</key> | |
525 <val>[ unit(' ') ]</val> | |
526 <type>unit</type> | |
527 </param> | |
528 <param> | |
529 <key>COMMENT_CHAR</key> | |
530 <val/> | |
531 <type>char</type> | |
532 </param> | |
533 <param> | |
534 <key>USE_FS</key> | |
535 <val/> | |
536 <type>char</type> | |
537 </param> | |
538 <param> | |
539 <key>ROBUST</key> | |
540 <val>yes</val> | |
541 <type>char</type> | |
542 </param> | |
543 </plist> | |
544 <plist name="none"> | |
545 <param> | |
546 <key>FCN</key> | |
547 <val>randn(100,1)</val> | |
548 <type>char</type> | |
549 </param> | |
550 <param> | |
551 <key>YUNITS</key> | |
552 <val>[ unit(' ') ]</val> | |
553 <type>unit</type> | |
554 </param> | |
555 </plist> | |
556 <plist name="none"> | |
557 <param> | |
558 <key>VALS</key> | |
559 <val>[]</val> | |
560 <type>double</type> | |
561 </param> | |
562 <param> | |
563 <key>N</key> | |
564 <val>1</val> | |
565 <type>double</type> | |
566 </param> | |
567 <param> | |
568 <key>DTYPE</key> | |
569 <val/> | |
570 <type>char</type> | |
571 </param> | |
572 <param> | |
573 <key>FS</key> | |
574 <val>[]</val> | |
575 <type>double</type> | |
576 </param> | |
577 <param> | |
578 <key>XVALS</key> | |
579 <val>[]</val> | |
580 <type>double</type> | |
581 </param> | |
582 <param> | |
583 <key>YVALS</key> | |
584 <val>[]</val> | |
585 <type>double</type> | |
586 </param> | |
587 <param> | |
588 <key>YUNITS</key> | |
589 <val/> | |
590 <type>char</type> | |
591 </param> | |
592 </plist> | |
593 <plist name="none"> | |
594 <param> | |
595 <key>TSFCN</key> | |
596 <val>t</val> | |
597 <type>char</type> | |
598 </param> | |
599 <param> | |
600 <key>FS</key> | |
601 <val>10</val> | |
602 <type>double</type> | |
603 </param> | |
604 <param> | |
605 <key>NSECS</key> | |
606 <val>1</val> | |
607 <type>double</type> | |
608 </param> | |
609 <param> | |
610 <key>T0</key> | |
611 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
612 <type>time</type> | |
613 </param> | |
614 <param> | |
615 <key>XUNITS</key> | |
616 <val>[ unit(' s ') ]</val> | |
617 <type>unit</type> | |
618 </param> | |
619 <param> | |
620 <key>YUNITS</key> | |
621 <val>[ unit(' ') ]</val> | |
622 <type>unit</type> | |
623 </param> | |
624 </plist> | |
625 <plist name="none"> | |
626 <param> | |
627 <key>XYFCN</key> | |
628 <val>x</val> | |
629 <type>char</type> | |
630 </param> | |
631 <param> | |
632 <key>X</key> | |
633 <val>[]</val> | |
634 <type>double</type> | |
635 </param> | |
636 <param> | |
637 <key>XUNITS</key> | |
638 <val>[ unit(' ') ]</val> | |
639 <type>unit</type> | |
640 </param> | |
641 <param> | |
642 <key>YUNITS</key> | |
643 <val>[ unit(' ') ]</val> | |
644 <type>unit</type> | |
645 </param> | |
646 </plist> | |
647 <plist name="none"> | |
648 <param> | |
649 <key>FSFCN</key> | |
650 <val>f</val> | |
651 <type>char</type> | |
652 </param> | |
653 <param> | |
654 <key>F1</key> | |
655 <val>1e-09</val> | |
656 <type>double</type> | |
657 </param> | |
658 <param> | |
659 <key>F2</key> | |
660 <val>5</val> | |
661 <type>double</type> | |
662 </param> | |
663 <param> | |
664 <key>NF</key> | |
665 <val>1000</val> | |
666 <type>double</type> | |
667 </param> | |
668 <param> | |
669 <key>SCALE</key> | |
670 <val>log</val> | |
671 <type>char</type> | |
672 </param> | |
673 <param> | |
674 <key>F</key> | |
675 <val>[]</val> | |
676 <type>double</type> | |
677 </param> | |
678 <param> | |
679 <key>XUNITS</key> | |
680 <val>[ unit(' Hz ') ]</val> | |
681 <type>unit</type> | |
682 </param> | |
683 <param> | |
684 <key>YUNITS</key> | |
685 <val>[ unit(' ') ]</val> | |
686 <type>unit</type> | |
687 </param> | |
688 </plist> | |
689 <plist name="none"> | |
690 <param> | |
691 <key>WIN</key> | |
692 <val> specwin('Hanning', 100)</val> | |
693 <type>specwin</type> | |
694 </param> | |
695 <param> | |
696 <key>YUNITS</key> | |
697 <val>[ unit(' ') ]</val> | |
698 <type>unit</type> | |
699 </param> | |
700 </plist> | |
701 <plist name="none"> | |
702 <param> | |
703 <key>WAVEFORM</key> | |
704 <val>sine wave</val> | |
705 <type>char</type> | |
706 </param> | |
707 <param> | |
708 <key>A</key> | |
709 <val>1</val> | |
710 <type>double</type> | |
711 </param> | |
712 <param> | |
713 <key>F</key> | |
714 <val>1.23</val> | |
715 <type>double</type> | |
716 </param> | |
717 <param> | |
718 <key>PHI</key> | |
719 <val>0</val> | |
720 <type>double</type> | |
721 </param> | |
722 <param> | |
723 <key>FS</key> | |
724 <val>10</val> | |
725 <type>double</type> | |
726 </param> | |
727 <param> | |
728 <key>NSECS</key> | |
729 <val>10</val> | |
730 <type>double</type> | |
731 </param> | |
732 <param> | |
733 <key>T0</key> | |
734 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
735 <type>time</type> | |
736 </param> | |
737 <param> | |
738 <key>TOFF</key> | |
739 <val>0</val> | |
740 <type>double</type> | |
741 </param> | |
742 <param> | |
743 <key>XUNITS</key> | |
744 <val>[ unit(' s ') ]</val> | |
745 <type>unit</type> | |
746 </param> | |
747 <param> | |
748 <key>YUNITS</key> | |
749 <val>[ unit(' ') ]</val> | |
750 <type>unit</type> | |
751 </param> | |
752 </plist> | |
753 <plist name="none"> | |
754 <param> | |
755 <key>POLYVAL</key> | |
756 <val>[-0.0001 0.02 -1 -1]</val> | |
757 <type>double</type> | |
758 </param> | |
759 <param> | |
760 <key>NSECS</key> | |
761 <val>10</val> | |
762 <type>double</type> | |
763 </param> | |
764 <param> | |
765 <key>FS</key> | |
766 <val>10</val> | |
767 <type>double</type> | |
768 </param> | |
769 <param> | |
770 <key>T</key> | |
771 <val>[]</val> | |
772 <type>double</type> | |
773 </param> | |
774 <param> | |
775 <key>XUNITS</key> | |
776 <val>[ unit(' s ') ]</val> | |
777 <type>unit</type> | |
778 </param> | |
779 <param> | |
780 <key>YUNITS</key> | |
781 <val>[ unit(' ') ]</val> | |
782 <type>unit</type> | |
783 </param> | |
784 </plist> | |
785 <plist name="none"> | |
786 <param> | |
787 <key>HOSTNAME</key> | |
788 <val>localhost</val> | |
789 <type>char</type> | |
790 </param> | |
791 <param> | |
792 <key>DATABASE</key> | |
793 <val>ltpda</val> | |
794 <type>char</type> | |
795 </param> | |
796 <param> | |
797 <key>ID</key> | |
798 <val>[]</val> | |
799 <type>double</type> | |
800 </param> | |
801 <param> | |
802 <key>BINARY</key> | |
803 <val>no</val> | |
804 <type>char</type> | |
805 </param> | |
806 </plist> | |
807 <plist name="none"> | |
808 <param> | |
809 <key>PLIST</key> | |
810 <val>(empty-plist)</val> | |
811 <type>plist</type> | |
812 </param> | |
813 </plist> | |
814 <plist name="none"> | |
815 <param> | |
816 <key>PZMODEL</key> | |
817 <val>pzmodel(none)</val> | |
818 <type>pzmodel</type> | |
819 </param> | |
820 <param> | |
821 <key>NSECS</key> | |
822 <val>0</val> | |
823 <type>double</type> | |
824 </param> | |
825 <param> | |
826 <key>FS</key> | |
827 <val>0</val> | |
828 <type>double</type> | |
829 </param> | |
830 <param> | |
831 <key>XUNITS</key> | |
832 <val>[ unit(' s ') ]</val> | |
833 <type>unit</type> | |
834 </param> | |
835 <param> | |
836 <key>YUNITS</key> | |
837 <val>[ unit(' ') ]</val> | |
838 <type>unit</type> | |
839 </param> | |
840 </plist> | |
841 <plist name="none"> | |
842 <param> | |
843 <key>BUILT-IN</key> | |
844 <val/> | |
845 <type>char</type> | |
846 </param> | |
847 </plist> | |
848 </plists> | |
849 </LTPDAalgorithm> | |
850 <plist name="none"> | |
851 <param> | |
852 <key>FILENAME</key> | |
853 <val>a22xx.xml</val> | |
854 <type>char</type> | |
855 </param> | |
856 <param> | |
857 <key>XUNITS</key> | |
858 <val>s</val> | |
859 <type>char</type> | |
860 </param> | |
861 <param> | |
862 <key>YUNITS</key> | |
863 <val>m</val> | |
864 <type>char</type> | |
865 </param> | |
866 </plist> | |
867 <port number="0" terminal="" type="output"> | |
868 <node> | |
869 <pipe color="-3657166" dstblock="sqrt2" dstport="0" srcblock="a22xx" thickness="2.0"/> | |
870 </node> | |
871 </port> | |
872 </block> | |
873 <block bounds="510 100 60 60" inputs="1" name="sqrt2" outputs="1"> | |
874 <LTPDAalgorithm mcategory="Operator" mclass="ao" mname="sqrt" mpackage="" mversion="" portdims="1 -1 1 -1"> | |
875 <HelpText> SQRT computes the square root of the data in the AO. | |
876 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
877 | |
878 DESCRIPTION: SQRT computes the square root of the data in the AO. | |
879 | |
880 CALL: ao_out = sqrt(ao_in); | |
881 ao_out = sqrt(ao_in, pl); | |
882 | |
883 PARAMETERS: see help for data2D/applymethod for additional parameters | |
884 | |
885 M-FILE INFO: Get information about this methods by calling | |
886 >> ao.getInfo('sqrt') | |
887 | |
888 Get information about a specified set-plist by calling: | |
889 >> ao.getInfo('sqrt', 'None') | |
890 | |
891 VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ | |
892 | |
893 HISTORY: 12-03-07 M Hewitson | |
894 Creation | |
895 | |
896 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
897 </HelpText> | |
898 <sets> | |
899 <set name="Default"/> | |
900 </sets> | |
901 <plists> | |
902 <plist name="none"> | |
903 <param> | |
904 <key>AXIS</key> | |
905 <val>y</val> | |
906 <type>char</type> | |
907 </param> | |
908 </plist> | |
909 </plists> | |
910 </LTPDAalgorithm> | |
911 <plist name="none"> | |
912 <param> | |
913 <key>AXIS</key> | |
914 <val>y</val> | |
915 <type>char</type> | |
916 </param> | |
917 </plist> | |
918 <port number="0" terminal="" type="output"> | |
919 <node> | |
920 <pipe color="-3657166" dstblock="plot" dstport="3" srcblock="sqrt2" thickness="2.0"/> | |
921 </node> | |
922 </port> | |
923 </block> | |
924 <block bounds="0 300 60 60" inputs="0" name="o1" outputs="1"> | |
925 <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"> | |
926 <HelpText> % Update the predefined properties to get the right created time | |
927 </HelpText> | |
928 <sets> | |
929 <set name="Default"/> | |
930 <set name="From XML File"/> | |
931 <set name="From MAT File"/> | |
932 <set name="From ASCII File"/> | |
933 <set name="From Function"/> | |
934 <set name="From Values"/> | |
935 <set name="From Time-series Function"/> | |
936 <set name="From XY Function"/> | |
937 <set name="From Frequency-series Function"/> | |
938 <set name="From Window"/> | |
939 <set name="From Waveform"/> | |
940 <set name="From Polynomial"/> | |
941 <set name="From Repository"/> | |
942 <set name="From Plist"/> | |
943 <set name="From Pzmodel"/> | |
944 <set name="From Built-in Model"/> | |
945 </sets> | |
946 <plists> | |
947 <plist name="none"/> | |
948 <plist name="none"> | |
949 <param> | |
950 <key>FILENAME</key> | |
951 <val/> | |
952 <type>char</type> | |
953 </param> | |
954 </plist> | |
955 <plist name="none"> | |
956 <param> | |
957 <key>FILENAME</key> | |
958 <val/> | |
959 <type>char</type> | |
960 </param> | |
961 </plist> | |
962 <plist name="none"> | |
963 <param> | |
964 <key>FILENAME</key> | |
965 <val/> | |
966 <type>char</type> | |
967 </param> | |
968 <param> | |
969 <key>TYPE</key> | |
970 <val>tsdata</val> | |
971 <type>char</type> | |
972 </param> | |
973 <param> | |
974 <key>COLUMNS</key> | |
975 <val>[1 2]</val> | |
976 <type>double</type> | |
977 </param> | |
978 <param> | |
979 <key>XUNITS</key> | |
980 <val>[ unit(' s ') ]</val> | |
981 <type>unit</type> | |
982 </param> | |
983 <param> | |
984 <key>YUNITS</key> | |
985 <val>[ unit(' ') ]</val> | |
986 <type>unit</type> | |
987 </param> | |
988 <param> | |
989 <key>COMMENT_CHAR</key> | |
990 <val/> | |
991 <type>char</type> | |
992 </param> | |
993 <param> | |
994 <key>USE_FS</key> | |
995 <val/> | |
996 <type>char</type> | |
997 </param> | |
998 <param> | |
999 <key>ROBUST</key> | |
1000 <val>yes</val> | |
1001 <type>char</type> | |
1002 </param> | |
1003 </plist> | |
1004 <plist name="none"> | |
1005 <param> | |
1006 <key>FCN</key> | |
1007 <val>randn(100,1)</val> | |
1008 <type>char</type> | |
1009 </param> | |
1010 <param> | |
1011 <key>YUNITS</key> | |
1012 <val>[ unit(' ') ]</val> | |
1013 <type>unit</type> | |
1014 </param> | |
1015 </plist> | |
1016 <plist name="none"> | |
1017 <param> | |
1018 <key>VALS</key> | |
1019 <val>[]</val> | |
1020 <type>double</type> | |
1021 </param> | |
1022 <param> | |
1023 <key>N</key> | |
1024 <val>1</val> | |
1025 <type>double</type> | |
1026 </param> | |
1027 <param> | |
1028 <key>DTYPE</key> | |
1029 <val/> | |
1030 <type>char</type> | |
1031 </param> | |
1032 <param> | |
1033 <key>FS</key> | |
1034 <val>[]</val> | |
1035 <type>double</type> | |
1036 </param> | |
1037 <param> | |
1038 <key>XVALS</key> | |
1039 <val>[]</val> | |
1040 <type>double</type> | |
1041 </param> | |
1042 <param> | |
1043 <key>YVALS</key> | |
1044 <val>[]</val> | |
1045 <type>double</type> | |
1046 </param> | |
1047 <param> | |
1048 <key>YUNITS</key> | |
1049 <val/> | |
1050 <type>char</type> | |
1051 </param> | |
1052 </plist> | |
1053 <plist name="none"> | |
1054 <param> | |
1055 <key>TSFCN</key> | |
1056 <val>t</val> | |
1057 <type>char</type> | |
1058 </param> | |
1059 <param> | |
1060 <key>FS</key> | |
1061 <val>10</val> | |
1062 <type>double</type> | |
1063 </param> | |
1064 <param> | |
1065 <key>NSECS</key> | |
1066 <val>1</val> | |
1067 <type>double</type> | |
1068 </param> | |
1069 <param> | |
1070 <key>T0</key> | |
1071 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
1072 <type>time</type> | |
1073 </param> | |
1074 <param> | |
1075 <key>XUNITS</key> | |
1076 <val>[ unit(' s ') ]</val> | |
1077 <type>unit</type> | |
1078 </param> | |
1079 <param> | |
1080 <key>YUNITS</key> | |
1081 <val>[ unit(' ') ]</val> | |
1082 <type>unit</type> | |
1083 </param> | |
1084 </plist> | |
1085 <plist name="none"> | |
1086 <param> | |
1087 <key>XYFCN</key> | |
1088 <val>x</val> | |
1089 <type>char</type> | |
1090 </param> | |
1091 <param> | |
1092 <key>X</key> | |
1093 <val>[]</val> | |
1094 <type>double</type> | |
1095 </param> | |
1096 <param> | |
1097 <key>XUNITS</key> | |
1098 <val>[ unit(' ') ]</val> | |
1099 <type>unit</type> | |
1100 </param> | |
1101 <param> | |
1102 <key>YUNITS</key> | |
1103 <val>[ unit(' ') ]</val> | |
1104 <type>unit</type> | |
1105 </param> | |
1106 </plist> | |
1107 <plist name="none"> | |
1108 <param> | |
1109 <key>FSFCN</key> | |
1110 <val>f</val> | |
1111 <type>char</type> | |
1112 </param> | |
1113 <param> | |
1114 <key>F1</key> | |
1115 <val>1e-09</val> | |
1116 <type>double</type> | |
1117 </param> | |
1118 <param> | |
1119 <key>F2</key> | |
1120 <val>5</val> | |
1121 <type>double</type> | |
1122 </param> | |
1123 <param> | |
1124 <key>NF</key> | |
1125 <val>1000</val> | |
1126 <type>double</type> | |
1127 </param> | |
1128 <param> | |
1129 <key>SCALE</key> | |
1130 <val>log</val> | |
1131 <type>char</type> | |
1132 </param> | |
1133 <param> | |
1134 <key>F</key> | |
1135 <val>[]</val> | |
1136 <type>double</type> | |
1137 </param> | |
1138 <param> | |
1139 <key>XUNITS</key> | |
1140 <val>[ unit(' Hz ') ]</val> | |
1141 <type>unit</type> | |
1142 </param> | |
1143 <param> | |
1144 <key>YUNITS</key> | |
1145 <val>[ unit(' ') ]</val> | |
1146 <type>unit</type> | |
1147 </param> | |
1148 </plist> | |
1149 <plist name="none"> | |
1150 <param> | |
1151 <key>WIN</key> | |
1152 <val> specwin('Hanning', 100)</val> | |
1153 <type>specwin</type> | |
1154 </param> | |
1155 <param> | |
1156 <key>YUNITS</key> | |
1157 <val>[ unit(' ') ]</val> | |
1158 <type>unit</type> | |
1159 </param> | |
1160 </plist> | |
1161 <plist name="none"> | |
1162 <param> | |
1163 <key>WAVEFORM</key> | |
1164 <val>sine wave</val> | |
1165 <type>char</type> | |
1166 </param> | |
1167 <param> | |
1168 <key>A</key> | |
1169 <val>1</val> | |
1170 <type>double</type> | |
1171 </param> | |
1172 <param> | |
1173 <key>F</key> | |
1174 <val>1.23</val> | |
1175 <type>double</type> | |
1176 </param> | |
1177 <param> | |
1178 <key>PHI</key> | |
1179 <val>0</val> | |
1180 <type>double</type> | |
1181 </param> | |
1182 <param> | |
1183 <key>FS</key> | |
1184 <val>10</val> | |
1185 <type>double</type> | |
1186 </param> | |
1187 <param> | |
1188 <key>NSECS</key> | |
1189 <val>10</val> | |
1190 <type>double</type> | |
1191 </param> | |
1192 <param> | |
1193 <key>T0</key> | |
1194 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
1195 <type>time</type> | |
1196 </param> | |
1197 <param> | |
1198 <key>TOFF</key> | |
1199 <val>0</val> | |
1200 <type>double</type> | |
1201 </param> | |
1202 <param> | |
1203 <key>XUNITS</key> | |
1204 <val>[ unit(' s ') ]</val> | |
1205 <type>unit</type> | |
1206 </param> | |
1207 <param> | |
1208 <key>YUNITS</key> | |
1209 <val>[ unit(' ') ]</val> | |
1210 <type>unit</type> | |
1211 </param> | |
1212 </plist> | |
1213 <plist name="none"> | |
1214 <param> | |
1215 <key>POLYVAL</key> | |
1216 <val>[-0.0001 0.02 -1 -1]</val> | |
1217 <type>double</type> | |
1218 </param> | |
1219 <param> | |
1220 <key>NSECS</key> | |
1221 <val>10</val> | |
1222 <type>double</type> | |
1223 </param> | |
1224 <param> | |
1225 <key>FS</key> | |
1226 <val>10</val> | |
1227 <type>double</type> | |
1228 </param> | |
1229 <param> | |
1230 <key>T</key> | |
1231 <val>[]</val> | |
1232 <type>double</type> | |
1233 </param> | |
1234 <param> | |
1235 <key>XUNITS</key> | |
1236 <val>[ unit(' s ') ]</val> | |
1237 <type>unit</type> | |
1238 </param> | |
1239 <param> | |
1240 <key>YUNITS</key> | |
1241 <val>[ unit(' ') ]</val> | |
1242 <type>unit</type> | |
1243 </param> | |
1244 </plist> | |
1245 <plist name="none"> | |
1246 <param> | |
1247 <key>HOSTNAME</key> | |
1248 <val>localhost</val> | |
1249 <type>char</type> | |
1250 </param> | |
1251 <param> | |
1252 <key>DATABASE</key> | |
1253 <val>ltpda</val> | |
1254 <type>char</type> | |
1255 </param> | |
1256 <param> | |
1257 <key>ID</key> | |
1258 <val>[]</val> | |
1259 <type>double</type> | |
1260 </param> | |
1261 <param> | |
1262 <key>BINARY</key> | |
1263 <val>no</val> | |
1264 <type>char</type> | |
1265 </param> | |
1266 </plist> | |
1267 <plist name="none"> | |
1268 <param> | |
1269 <key>PLIST</key> | |
1270 <val>(empty-plist)</val> | |
1271 <type>plist</type> | |
1272 </param> | |
1273 </plist> | |
1274 <plist name="none"> | |
1275 <param> | |
1276 <key>PZMODEL</key> | |
1277 <val>pzmodel(none)</val> | |
1278 <type>pzmodel</type> | |
1279 </param> | |
1280 <param> | |
1281 <key>NSECS</key> | |
1282 <val>0</val> | |
1283 <type>double</type> | |
1284 </param> | |
1285 <param> | |
1286 <key>FS</key> | |
1287 <val>0</val> | |
1288 <type>double</type> | |
1289 </param> | |
1290 <param> | |
1291 <key>XUNITS</key> | |
1292 <val>[ unit(' s ') ]</val> | |
1293 <type>unit</type> | |
1294 </param> | |
1295 <param> | |
1296 <key>YUNITS</key> | |
1297 <val>[ unit(' ') ]</val> | |
1298 <type>unit</type> | |
1299 </param> | |
1300 </plist> | |
1301 <plist name="none"> | |
1302 <param> | |
1303 <key>BUILT-IN</key> | |
1304 <val/> | |
1305 <type>char</type> | |
1306 </param> | |
1307 </plist> | |
1308 </plists> | |
1309 </LTPDAalgorithm> | |
1310 <plist name="none"> | |
1311 <param> | |
1312 <key>FILENAME</key> | |
1313 <val>o1_1.xml</val> | |
1314 <type>char</type> | |
1315 </param> | |
1316 <param> | |
1317 <key>XUNITS</key> | |
1318 <val>s</val> | |
1319 <type>char</type> | |
1320 </param> | |
1321 <param> | |
1322 <key>YUNITS</key> | |
1323 <val>m</val> | |
1324 <type>char</type> | |
1325 </param> | |
1326 </plist> | |
1327 <port number="0" terminal="" type="output"> | |
1328 <node> | |
1329 <pipe color="-3657166" dstblock="inloop acc" dstport="0" srcblock="o1" thickness="2.0"/> | |
1330 <pipe color="-3657166" dstblock="control" dstport="0" srcblock="o1" thickness="2.0"/> | |
1331 </node> | |
1332 </port> | |
1333 </block> | |
1334 <block bounds="30 400 60 60" inputs="0" name="o12" outputs="1"> | |
1335 <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"> | |
1336 <HelpText> % Update the predefined properties to get the right created time | |
1337 </HelpText> | |
1338 <sets> | |
1339 <set name="Default"/> | |
1340 <set name="From XML File"/> | |
1341 <set name="From MAT File"/> | |
1342 <set name="From ASCII File"/> | |
1343 <set name="From Function"/> | |
1344 <set name="From Values"/> | |
1345 <set name="From Time-series Function"/> | |
1346 <set name="From XY Function"/> | |
1347 <set name="From Frequency-series Function"/> | |
1348 <set name="From Window"/> | |
1349 <set name="From Waveform"/> | |
1350 <set name="From Polynomial"/> | |
1351 <set name="From Repository"/> | |
1352 <set name="From Plist"/> | |
1353 <set name="From Pzmodel"/> | |
1354 <set name="From Built-in Model"/> | |
1355 </sets> | |
1356 <plists> | |
1357 <plist name="none"/> | |
1358 <plist name="none"> | |
1359 <param> | |
1360 <key>FILENAME</key> | |
1361 <val/> | |
1362 <type>char</type> | |
1363 </param> | |
1364 </plist> | |
1365 <plist name="none"> | |
1366 <param> | |
1367 <key>FILENAME</key> | |
1368 <val/> | |
1369 <type>char</type> | |
1370 </param> | |
1371 </plist> | |
1372 <plist name="none"> | |
1373 <param> | |
1374 <key>FILENAME</key> | |
1375 <val/> | |
1376 <type>char</type> | |
1377 </param> | |
1378 <param> | |
1379 <key>TYPE</key> | |
1380 <val>tsdata</val> | |
1381 <type>char</type> | |
1382 </param> | |
1383 <param> | |
1384 <key>COLUMNS</key> | |
1385 <val>[1 2]</val> | |
1386 <type>double</type> | |
1387 </param> | |
1388 <param> | |
1389 <key>XUNITS</key> | |
1390 <val>[ unit(' s ') ]</val> | |
1391 <type>unit</type> | |
1392 </param> | |
1393 <param> | |
1394 <key>YUNITS</key> | |
1395 <val>[ unit(' ') ]</val> | |
1396 <type>unit</type> | |
1397 </param> | |
1398 <param> | |
1399 <key>COMMENT_CHAR</key> | |
1400 <val/> | |
1401 <type>char</type> | |
1402 </param> | |
1403 <param> | |
1404 <key>USE_FS</key> | |
1405 <val/> | |
1406 <type>char</type> | |
1407 </param> | |
1408 <param> | |
1409 <key>ROBUST</key> | |
1410 <val>yes</val> | |
1411 <type>char</type> | |
1412 </param> | |
1413 </plist> | |
1414 <plist name="none"> | |
1415 <param> | |
1416 <key>FCN</key> | |
1417 <val>randn(100,1)</val> | |
1418 <type>char</type> | |
1419 </param> | |
1420 <param> | |
1421 <key>YUNITS</key> | |
1422 <val>[ unit(' ') ]</val> | |
1423 <type>unit</type> | |
1424 </param> | |
1425 </plist> | |
1426 <plist name="none"> | |
1427 <param> | |
1428 <key>VALS</key> | |
1429 <val>[]</val> | |
1430 <type>double</type> | |
1431 </param> | |
1432 <param> | |
1433 <key>N</key> | |
1434 <val>1</val> | |
1435 <type>double</type> | |
1436 </param> | |
1437 <param> | |
1438 <key>DTYPE</key> | |
1439 <val/> | |
1440 <type>char</type> | |
1441 </param> | |
1442 <param> | |
1443 <key>FS</key> | |
1444 <val>[]</val> | |
1445 <type>double</type> | |
1446 </param> | |
1447 <param> | |
1448 <key>XVALS</key> | |
1449 <val>[]</val> | |
1450 <type>double</type> | |
1451 </param> | |
1452 <param> | |
1453 <key>YVALS</key> | |
1454 <val>[]</val> | |
1455 <type>double</type> | |
1456 </param> | |
1457 <param> | |
1458 <key>YUNITS</key> | |
1459 <val/> | |
1460 <type>char</type> | |
1461 </param> | |
1462 </plist> | |
1463 <plist name="none"> | |
1464 <param> | |
1465 <key>TSFCN</key> | |
1466 <val>t</val> | |
1467 <type>char</type> | |
1468 </param> | |
1469 <param> | |
1470 <key>FS</key> | |
1471 <val>10</val> | |
1472 <type>double</type> | |
1473 </param> | |
1474 <param> | |
1475 <key>NSECS</key> | |
1476 <val>1</val> | |
1477 <type>double</type> | |
1478 </param> | |
1479 <param> | |
1480 <key>T0</key> | |
1481 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
1482 <type>time</type> | |
1483 </param> | |
1484 <param> | |
1485 <key>XUNITS</key> | |
1486 <val>[ unit(' s ') ]</val> | |
1487 <type>unit</type> | |
1488 </param> | |
1489 <param> | |
1490 <key>YUNITS</key> | |
1491 <val>[ unit(' ') ]</val> | |
1492 <type>unit</type> | |
1493 </param> | |
1494 </plist> | |
1495 <plist name="none"> | |
1496 <param> | |
1497 <key>XYFCN</key> | |
1498 <val>x</val> | |
1499 <type>char</type> | |
1500 </param> | |
1501 <param> | |
1502 <key>X</key> | |
1503 <val>[]</val> | |
1504 <type>double</type> | |
1505 </param> | |
1506 <param> | |
1507 <key>XUNITS</key> | |
1508 <val>[ unit(' ') ]</val> | |
1509 <type>unit</type> | |
1510 </param> | |
1511 <param> | |
1512 <key>YUNITS</key> | |
1513 <val>[ unit(' ') ]</val> | |
1514 <type>unit</type> | |
1515 </param> | |
1516 </plist> | |
1517 <plist name="none"> | |
1518 <param> | |
1519 <key>FSFCN</key> | |
1520 <val>f</val> | |
1521 <type>char</type> | |
1522 </param> | |
1523 <param> | |
1524 <key>F1</key> | |
1525 <val>1e-09</val> | |
1526 <type>double</type> | |
1527 </param> | |
1528 <param> | |
1529 <key>F2</key> | |
1530 <val>5</val> | |
1531 <type>double</type> | |
1532 </param> | |
1533 <param> | |
1534 <key>NF</key> | |
1535 <val>1000</val> | |
1536 <type>double</type> | |
1537 </param> | |
1538 <param> | |
1539 <key>SCALE</key> | |
1540 <val>log</val> | |
1541 <type>char</type> | |
1542 </param> | |
1543 <param> | |
1544 <key>F</key> | |
1545 <val>[]</val> | |
1546 <type>double</type> | |
1547 </param> | |
1548 <param> | |
1549 <key>XUNITS</key> | |
1550 <val>[ unit(' Hz ') ]</val> | |
1551 <type>unit</type> | |
1552 </param> | |
1553 <param> | |
1554 <key>YUNITS</key> | |
1555 <val>[ unit(' ') ]</val> | |
1556 <type>unit</type> | |
1557 </param> | |
1558 </plist> | |
1559 <plist name="none"> | |
1560 <param> | |
1561 <key>WIN</key> | |
1562 <val> specwin('Hanning', 100)</val> | |
1563 <type>specwin</type> | |
1564 </param> | |
1565 <param> | |
1566 <key>YUNITS</key> | |
1567 <val>[ unit(' ') ]</val> | |
1568 <type>unit</type> | |
1569 </param> | |
1570 </plist> | |
1571 <plist name="none"> | |
1572 <param> | |
1573 <key>WAVEFORM</key> | |
1574 <val>sine wave</val> | |
1575 <type>char</type> | |
1576 </param> | |
1577 <param> | |
1578 <key>A</key> | |
1579 <val>1</val> | |
1580 <type>double</type> | |
1581 </param> | |
1582 <param> | |
1583 <key>F</key> | |
1584 <val>1.23</val> | |
1585 <type>double</type> | |
1586 </param> | |
1587 <param> | |
1588 <key>PHI</key> | |
1589 <val>0</val> | |
1590 <type>double</type> | |
1591 </param> | |
1592 <param> | |
1593 <key>FS</key> | |
1594 <val>10</val> | |
1595 <type>double</type> | |
1596 </param> | |
1597 <param> | |
1598 <key>NSECS</key> | |
1599 <val>10</val> | |
1600 <type>double</type> | |
1601 </param> | |
1602 <param> | |
1603 <key>T0</key> | |
1604 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
1605 <type>time</type> | |
1606 </param> | |
1607 <param> | |
1608 <key>TOFF</key> | |
1609 <val>0</val> | |
1610 <type>double</type> | |
1611 </param> | |
1612 <param> | |
1613 <key>XUNITS</key> | |
1614 <val>[ unit(' s ') ]</val> | |
1615 <type>unit</type> | |
1616 </param> | |
1617 <param> | |
1618 <key>YUNITS</key> | |
1619 <val>[ unit(' ') ]</val> | |
1620 <type>unit</type> | |
1621 </param> | |
1622 </plist> | |
1623 <plist name="none"> | |
1624 <param> | |
1625 <key>POLYVAL</key> | |
1626 <val>[-0.0001 0.02 -1 -1]</val> | |
1627 <type>double</type> | |
1628 </param> | |
1629 <param> | |
1630 <key>NSECS</key> | |
1631 <val>10</val> | |
1632 <type>double</type> | |
1633 </param> | |
1634 <param> | |
1635 <key>FS</key> | |
1636 <val>10</val> | |
1637 <type>double</type> | |
1638 </param> | |
1639 <param> | |
1640 <key>T</key> | |
1641 <val>[]</val> | |
1642 <type>double</type> | |
1643 </param> | |
1644 <param> | |
1645 <key>XUNITS</key> | |
1646 <val>[ unit(' s ') ]</val> | |
1647 <type>unit</type> | |
1648 </param> | |
1649 <param> | |
1650 <key>YUNITS</key> | |
1651 <val>[ unit(' ') ]</val> | |
1652 <type>unit</type> | |
1653 </param> | |
1654 </plist> | |
1655 <plist name="none"> | |
1656 <param> | |
1657 <key>HOSTNAME</key> | |
1658 <val>localhost</val> | |
1659 <type>char</type> | |
1660 </param> | |
1661 <param> | |
1662 <key>DATABASE</key> | |
1663 <val>ltpda</val> | |
1664 <type>char</type> | |
1665 </param> | |
1666 <param> | |
1667 <key>ID</key> | |
1668 <val>[]</val> | |
1669 <type>double</type> | |
1670 </param> | |
1671 <param> | |
1672 <key>BINARY</key> | |
1673 <val>no</val> | |
1674 <type>char</type> | |
1675 </param> | |
1676 </plist> | |
1677 <plist name="none"> | |
1678 <param> | |
1679 <key>PLIST</key> | |
1680 <val>(empty-plist)</val> | |
1681 <type>plist</type> | |
1682 </param> | |
1683 </plist> | |
1684 <plist name="none"> | |
1685 <param> | |
1686 <key>PZMODEL</key> | |
1687 <val>pzmodel(none)</val> | |
1688 <type>pzmodel</type> | |
1689 </param> | |
1690 <param> | |
1691 <key>NSECS</key> | |
1692 <val>0</val> | |
1693 <type>double</type> | |
1694 </param> | |
1695 <param> | |
1696 <key>FS</key> | |
1697 <val>0</val> | |
1698 <type>double</type> | |
1699 </param> | |
1700 <param> | |
1701 <key>XUNITS</key> | |
1702 <val>[ unit(' s ') ]</val> | |
1703 <type>unit</type> | |
1704 </param> | |
1705 <param> | |
1706 <key>YUNITS</key> | |
1707 <val>[ unit(' ') ]</val> | |
1708 <type>unit</type> | |
1709 </param> | |
1710 </plist> | |
1711 <plist name="none"> | |
1712 <param> | |
1713 <key>BUILT-IN</key> | |
1714 <val/> | |
1715 <type>char</type> | |
1716 </param> | |
1717 </plist> | |
1718 </plists> | |
1719 </LTPDAalgorithm> | |
1720 <plist name="none"> | |
1721 <param> | |
1722 <key>FILENAME</key> | |
1723 <val>o12_1.xml</val> | |
1724 <type>char</type> | |
1725 </param> | |
1726 <param> | |
1727 <key>XUNITS</key> | |
1728 <val>s</val> | |
1729 <type>char</type> | |
1730 </param> | |
1731 <param> | |
1732 <key>YUNITS</key> | |
1733 <val>m</val> | |
1734 <type>char</type> | |
1735 </param> | |
1736 </plist> | |
1737 <port number="0" terminal="" type="output"> | |
1738 <node> | |
1739 <pipe color="-3657166" dstblock="inloop acc" dstport="1" srcblock="o12" thickness="2.0"/> | |
1740 <pipe color="-3657166" dstblock="control" dstport="1" srcblock="o12" thickness="2.0"/> | |
1741 </node> | |
1742 </port> | |
1743 </block> | |
1744 <block bounds="150 350 60 60" inputs="2" name="inloop acc" outputs="2"> | |
1745 <LTPDAalgorithm mcategory="MDC01" mclass="ao" mname="mdc1_ifo2acc_inloop" mpackage="" mversion="" portdims="1 -1 1 -1"> | |
1746 <HelpText> MDC1_IFO2ACC_INLOOP calculates the inloop acceleration in the time-domain. | |
1747 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
1748 | |
1749 DESCRIPTION: MDC1_IFO2ACC_INLOOP calculates the inloop acceleration | |
1750 in the time-domain for MDC1. | |
1751 | |
1752 It computes: a = DS^-1 o | |
1753 | |
1754 CALL: [a1,a2] = mdc1_ifo2acc_inloop(o1,o12,pl) | |
1755 | |
1756 INPUTS: o1 - time-series of the IFO output o1 | |
1757 o12 - time-series of the IFO output o12 | |
1758 | |
1759 PARAMETERS: 'Omega1' - the square of the stiffness term for the dynamical response | |
1760 of test-mass 1 coupling to SC [default: 1.3e-6] | |
1761 'Omega3' - the square of the stiffness term for the dynamical response | |
1762 of test-mass 2 coupling to SC [default: 2e-6] | |
1763 'delta' - the cross-coupling factor of o1 into o12 [default: -1e-4] | |
1764 | |
1765 M-FILE INFO: Get information about this methods by calling | |
1766 >> ao.getInfo('mdc1_ifo2acc_inloop') | |
1767 | |
1768 Get information about a specified set-plist by calling: | |
1769 >> ao.getInfo('mdc1_ifo2acc_inloop', 'None') | |
1770 | |
1771 VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ | |
1772 | |
1773 HISTORY: 11-04-08 M Hewitson | |
1774 Creation | |
1775 | |
1776 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
1777 </HelpText> | |
1778 <sets> | |
1779 <set name="Default"/> | |
1780 </sets> | |
1781 <plists> | |
1782 <plist name="none"> | |
1783 <param> | |
1784 <key>OMEGA1</key> | |
1785 <val>1.3e-06</val> | |
1786 <type>double</type> | |
1787 </param> | |
1788 <param> | |
1789 <key>OMEGA3</key> | |
1790 <val>2e-06</val> | |
1791 <type>double</type> | |
1792 </param> | |
1793 <param> | |
1794 <key>DELTA</key> | |
1795 <val>-0.0001</val> | |
1796 <type>double</type> | |
1797 </param> | |
1798 </plist> | |
1799 </plists> | |
1800 </LTPDAalgorithm> | |
1801 <plist name="none"> | |
1802 <param> | |
1803 <key>OMEGA1</key> | |
1804 <val>1.3e-06</val> | |
1805 <type>double</type> | |
1806 </param> | |
1807 <param> | |
1808 <key>OMEGA3</key> | |
1809 <val>2e-06</val> | |
1810 <type>double</type> | |
1811 </param> | |
1812 <param> | |
1813 <key>DELTA</key> | |
1814 <val>-0.0001</val> | |
1815 <type>double</type> | |
1816 </param> | |
1817 </plist> | |
1818 <port number="0" terminal="" type="output"> | |
1819 <node> | |
1820 <pipe color="-3657166" dstblock="subtract 1" dstport="0" srcblock="inloop acc" thickness="2.0"/> | |
1821 </node> | |
1822 </port> | |
1823 <port number="1" terminal="" type="output"> | |
1824 <node> | |
1825 <pipe color="-3657166" dstblock="subtract 2" dstport="0" srcblock="inloop acc" thickness="2.0"/> | |
1826 </node> | |
1827 </port> | |
1828 </block> | |
1829 <block bounds="200 450 60 60" inputs="2" name="control" outputs="2"> | |
1830 <LTPDAalgorithm mcategory="MDC01" mclass="ao" mname="mdc1_ifo2control" mpackage="" mversion="" portdims="1 -1 1 -1"> | |
1831 <HelpText> MDC1_IFO2CONTROL converts the input time-series to control forces. | |
1832 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
1833 | |
1834 DESCRIPTION: MDC1_IFO2CONTROL converts the input time-series to control forces. | |
1835 | |
1836 CALL: c = mdc1_ifo2control(o1, o12) | |
1837 | |
1838 INPUTS: o1 - time-series of the IFO output o1 | |
1839 o12 - time-series of the IFO output o12 | |
1840 | |
1841 M-FILE INFO: Get information about this methods by calling | |
1842 >> ao.getInfo('mdc1_ifo2control') | |
1843 | |
1844 Get information about a specified set-plist by calling: | |
1845 >> ao.getInfo('mdc1_ifo2control', 'None') | |
1846 | |
1847 VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ | |
1848 | |
1849 HISTORY: 11-04-08 M Hewitson | |
1850 Creation | |
1851 | |
1852 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
1853 </HelpText> | |
1854 <sets> | |
1855 <set name="Default"/> | |
1856 </sets> | |
1857 <plists> | |
1858 <plist name="none"/> | |
1859 </plists> | |
1860 </LTPDAalgorithm> | |
1861 <plist name="none"/> | |
1862 <port number="0" terminal="" type="output"> | |
1863 <node> | |
1864 <pipe color="-3657166" dstblock="subtract 1" dstport="1" srcblock="control" thickness="2.0"/> | |
1865 </node> | |
1866 </port> | |
1867 <port number="1" terminal="" type="output"> | |
1868 <node> | |
1869 <pipe color="-3657166" dstblock="subtract 2" dstport="1" srcblock="control" thickness="2.0"/> | |
1870 </node> | |
1871 </port> | |
1872 </block> | |
1873 <block bounds="300 330 60 60" inputs="2" name="subtract 1" outputs="1"> | |
1874 <LTPDAalgorithm mcategory="Arithmetic Operator" mclass="ao" mname="minus" mpackage="" mversion="" portdims="1 -1 1 -1"> | |
1875 <HelpText> MINUS implements subtraction operator for analysis objects. | |
1876 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
1877 | |
1878 DESCRIPTION: MINUS implements subtraction operator for two analysis objects. | |
1879 | |
1880 CALL: | |
1881 a = a1-a2 | |
1882 a = minus(a1,a2); | |
1883 a = minus(a1,a2,a3) == minus(add(a1,a2),a3) | |
1884 | |
1885 More than two inputs are handled with nested calls. | |
1886 | |
1887 M-FILE INFO: Get information about this methods by calling | |
1888 >> ao.getInfo('minus') | |
1889 | |
1890 Get information about a specified set-plist by calling: | |
1891 >> ao.getInfo('minus', 'None') | |
1892 | |
1893 VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ | |
1894 | |
1895 HISTORY: 01-02-07 M Hewitson | |
1896 Creation | |
1897 | |
1898 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
1899 </HelpText> | |
1900 <sets> | |
1901 <set name="Default"/> | |
1902 </sets> | |
1903 <plists> | |
1904 <plist name="none"/> | |
1905 </plists> | |
1906 </LTPDAalgorithm> | |
1907 <plist name="none"/> | |
1908 <port number="0" terminal="" type="output"> | |
1909 <node> | |
1910 <pipe color="-3657166" dstblock="split a1" dstport="0" srcblock="subtract 1" thickness="2.0"/> | |
1911 </node> | |
1912 </port> | |
1913 </block> | |
1914 <block bounds="350 470 60 60" inputs="2" name="subtract 2" outputs="1"> | |
1915 <LTPDAalgorithm mcategory="Arithmetic Operator" mclass="ao" mname="minus" mpackage="" mversion="" portdims="1 -1 1 -1"> | |
1916 <HelpText> MINUS implements subtraction operator for analysis objects. | |
1917 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
1918 | |
1919 DESCRIPTION: MINUS implements subtraction operator for two analysis objects. | |
1920 | |
1921 CALL: | |
1922 a = a1-a2 | |
1923 a = minus(a1,a2); | |
1924 a = minus(a1,a2,a3) == minus(add(a1,a2),a3) | |
1925 | |
1926 More than two inputs are handled with nested calls. | |
1927 | |
1928 M-FILE INFO: Get information about this methods by calling | |
1929 >> ao.getInfo('minus') | |
1930 | |
1931 Get information about a specified set-plist by calling: | |
1932 >> ao.getInfo('minus', 'None') | |
1933 | |
1934 VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ | |
1935 | |
1936 HISTORY: 01-02-07 M Hewitson | |
1937 Creation | |
1938 | |
1939 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
1940 </HelpText> | |
1941 <sets> | |
1942 <set name="Default"/> | |
1943 </sets> | |
1944 <plists> | |
1945 <plist name="none"/> | |
1946 </plists> | |
1947 </LTPDAalgorithm> | |
1948 <plist name="none"/> | |
1949 <port number="0" terminal="" type="output"> | |
1950 <node> | |
1951 <pipe color="-3657166" dstblock="split a2" dstport="0" srcblock="subtract 2" thickness="2.0"/> | |
1952 </node> | |
1953 </port> | |
1954 </block> | |
1955 <block bounds="420 350 60 60" inputs="1" name="split a1" outputs="1"> | |
1956 <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="split" mpackage="" mversion="" portdims="1 -1 1 -1"> | |
1957 <HelpText> SPLIT split an analysis object into the specified segments. | |
1958 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
1959 | |
1960 DESCRIPTION: SPLIT split an analysis object into the specified segments. | |
1961 | |
1962 CALL: b = split(a, pl) | |
1963 | |
1964 INPUTS: a - input analysis object | |
1965 pl - input parameter list (see below for parameters) | |
1966 | |
1967 OUTPUTS: b - array of analysis objects | |
1968 | |
1969 PARAMETERS: <key> <value> <description> | |
1970 'split_type' 'times' split the ao into time segments | |
1971 'frequencies' split the ao into frequencies segments | |
1972 'samples' split the ao into sample segments | |
1973 'chunks' split the ao into chunks | |
1974 'duration' select a duration of a tsdata | |
1975 | |
1976 Necessary for the individual split types: | |
1977 <split type> <key> <description> | |
1978 'times' 'times' an array of start/stop times to | |
1979 split by. A negative stop time is taken from the end | |
1980 of the vector, e.g., [10 -10] removes 10 seconds from | |
1981 the beginning and end of the | |
1982 vector. An end time of 0 | |
1983 indicates the end of the vector. | |
1984 'frequencies' 'frequencies' an array of start/stop frequencies to split by | |
1985 'samples' 'samples' an array of start/stop samples to split by | |
1986 'chunks' 'N' split into N contiguous pieces | |
1987 'interval' 'start_time', 'stop_time' | |
1988 - start/stop time can be either a string or a time | |
1989 object (if a string, 'format_str' must be | |
1990 specified or specify the strings in UTC time format) | |
1991 'interval' 'start_time', 'duration' | |
1992 - start time and the duration can be either a string | |
1993 or a time object (if a string, 'format_str' must be | |
1994 specified or specify the strings in UTC time format) | |
1995 'interval' 'timespan' | |
1996 - the start/end time are specified in the time span | |
1997 object. | |
1998 | |
1999 The UTC time format is: 'yyyy-mm-dd HH:MM:SS' | |
2000 | |
2001 If more than one splitting method is specified, the priority | |
2002 goes like the list above. | |
2003 | |
2004 The time vector in the output AO retains the original | |
2005 time values (i.e. it doesn't start from zero). | |
2006 | |
2007 The splitting is done as s<=t<e. | |
2008 | |
2009 Arrays of start/stop values should be like: [s1 e1 s2 e2 ....] | |
2010 | |
2011 EXAMPLES: 1.) Split method by frequency. Get the values from 10-100 Hz | |
2012 pl = plist('split_type', 'frequencies', ... | |
2013 'frequencies', [10 100]); | |
2014 ao_new = split(a1, pl); | |
2015 | |
2016 2.) Split method by time. | |
2017 Get the values from 0.0 to 1.0 Seconds AND from 1.0 to 2.5 seconds | |
2018 pl = plist('split_type', 'times', ... | |
2019 'times', [0.0 1.0 1.0 2.5]); | |
2020 ao_new = split(a1, pl); | |
2021 | |
2022 3.) Split method by samples. | |
2023 Get the samples from 0 to 50 AND from 150 to 200. | |
2024 pl = plist('split_type', 'samples', ... | |
2025 'samples', [0 50 150 200]); | |
2026 ao_new = split(a1, pl); | |
2027 | |
2028 4.1) Select an interval with strings | |
2029 pl = plist('split_type', 'interval', ... | |
2030 'start_time', '14:00:01', ... | |
2031 'end_time', '14:00:02'); | |
2032 ao_new = split(a1, pl); | |
2033 | |
2034 pl = plist('split_type', 'interval', ... | |
2035 'start_time', '14:00:01', ... | |
2036 'duration', '00:00:02'); | |
2037 ao_new = split(a1, pl); | |
2038 | |
2039 Select an interval with milliseconds | |
2040 pl = plist('split_type', 'interval', ... | |
2041 'start_time', 5000, ... | |
2042 'end_time', 7000); | |
2043 ao_new = split(a1, pl); | |
2044 | |
2045 4.2) Select an interval with time objects | |
2046 pl = plist('split_type', 'interval', ... | |
2047 'start_time', time('14:00:01'), ... | |
2048 'end_time', time('14:00:03')); | |
2049 ao_new = split(a1, pl); | |
2050 | |
2051 pl = plist('split_type', 'interval', ... | |
2052 'start_time', time(5000), ... | |
2053 'duration', time(2000)); | |
2054 ao_new = split(a1, pl); | |
2055 | |
2056 4.3) Select an interval with a time span object | |
2057 pl = plist('split_type', 'interval', ... | |
2058 'timespan', timespan('14:00:00', '14:00:05')); | |
2059 ao_new = split(a1, pl); | |
2060 | |
2061 M-FILE INFO: Get information about this methods by calling | |
2062 >> ao.getInfo('split') | |
2063 | |
2064 Get information about a specified set-plist by calling: | |
2065 >> ao.getInfo('split', 'Default') | |
2066 | |
2067 VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ | |
2068 | |
2069 HISTORY: 02-03-07 M Hewitson | |
2070 Creation. | |
2071 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
2072 </HelpText> | |
2073 <sets> | |
2074 <set name="Default"/> | |
2075 <set name="By times"/> | |
2076 <set name="By frequencies"/> | |
2077 <set name="By samples"/> | |
2078 <set name="By chunks"/> | |
2079 <set name="By interval start/end"/> | |
2080 <set name="By interval start/duration"/> | |
2081 <set name="By interval timespan"/> | |
2082 </sets> | |
2083 <plists> | |
2084 <plist name="none"> | |
2085 <param> | |
2086 <key>SPLIT_TYPE</key> | |
2087 <val>times</val> | |
2088 <type>char</type> | |
2089 </param> | |
2090 <param> | |
2091 <key>TIMES</key> | |
2092 <val>[]</val> | |
2093 <type>double</type> | |
2094 </param> | |
2095 </plist> | |
2096 <plist name="none"> | |
2097 <param> | |
2098 <key>SPLIT_TYPE</key> | |
2099 <val>times</val> | |
2100 <type>char</type> | |
2101 </param> | |
2102 <param> | |
2103 <key>TIMES</key> | |
2104 <val>[]</val> | |
2105 <type>double</type> | |
2106 </param> | |
2107 </plist> | |
2108 <plist name="none"> | |
2109 <param> | |
2110 <key>SPLIT_TYPE</key> | |
2111 <val>frequencies</val> | |
2112 <type>char</type> | |
2113 </param> | |
2114 <param> | |
2115 <key>FREQUENCIES</key> | |
2116 <val>[]</val> | |
2117 <type>double</type> | |
2118 </param> | |
2119 </plist> | |
2120 <plist name="none"> | |
2121 <param> | |
2122 <key>SPLIT_TYPE</key> | |
2123 <val>samples</val> | |
2124 <type>char</type> | |
2125 </param> | |
2126 <param> | |
2127 <key>SAMPLES</key> | |
2128 <val>[]</val> | |
2129 <type>double</type> | |
2130 </param> | |
2131 </plist> | |
2132 <plist name="none"> | |
2133 <param> | |
2134 <key>SPLIT_TYPE</key> | |
2135 <val>chunks</val> | |
2136 <type>char</type> | |
2137 </param> | |
2138 <param> | |
2139 <key>N</key> | |
2140 <val>[]</val> | |
2141 <type>double</type> | |
2142 </param> | |
2143 </plist> | |
2144 <plist name="none"> | |
2145 <param> | |
2146 <key>SPLIT_TYPE</key> | |
2147 <val>interval</val> | |
2148 <type>char</type> | |
2149 </param> | |
2150 <param> | |
2151 <key>START_TIME</key> | |
2152 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
2153 <type>time</type> | |
2154 </param> | |
2155 <param> | |
2156 <key>END_TIME</key> | |
2157 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
2158 <type>time</type> | |
2159 </param> | |
2160 </plist> | |
2161 <plist name="none"> | |
2162 <param> | |
2163 <key>SPLIT_TYPE</key> | |
2164 <val>interval</val> | |
2165 <type>char</type> | |
2166 </param> | |
2167 <param> | |
2168 <key>START_TIME</key> | |
2169 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
2170 <type>time</type> | |
2171 </param> | |
2172 <param> | |
2173 <key>DURATION</key> | |
2174 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
2175 <type>time</type> | |
2176 </param> | |
2177 </plist> | |
2178 <plist name="none"> | |
2179 <param> | |
2180 <key>SPLIT_TYPE</key> | |
2181 <val>interval</val> | |
2182 <type>char</type> | |
2183 </param> | |
2184 <param> | |
2185 <key>TIMESPAN</key> | |
2186 <val>(start: 1970-01-01 00:00:00.000 end: 1970-01-01 00:00:00.000)</val> | |
2187 <type>timespan</type> | |
2188 </param> | |
2189 </plist> | |
2190 </plists> | |
2191 </LTPDAalgorithm> | |
2192 <plist name="none"> | |
2193 <param> | |
2194 <key>TIMES</key> | |
2195 <val>[200 -200]</val> | |
2196 <type>double</type> | |
2197 </param> | |
2198 </plist> | |
2199 <port number="0" terminal="" type="output"> | |
2200 <node> | |
2201 <pipe color="-3657166" dstblock="lpsd a1" dstport="0" srcblock="split a1" thickness="2.0"/> | |
2202 </node> | |
2203 </port> | |
2204 </block> | |
2205 <block bounds="470 450 60 60" inputs="1" name="split a2" outputs="1"> | |
2206 <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="split" mpackage="" mversion="" portdims="1 -1 1 -1"> | |
2207 <HelpText> SPLIT split an analysis object into the specified segments. | |
2208 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
2209 | |
2210 DESCRIPTION: SPLIT split an analysis object into the specified segments. | |
2211 | |
2212 CALL: b = split(a, pl) | |
2213 | |
2214 INPUTS: a - input analysis object | |
2215 pl - input parameter list (see below for parameters) | |
2216 | |
2217 OUTPUTS: b - array of analysis objects | |
2218 | |
2219 PARAMETERS: <key> <value> <description> | |
2220 'split_type' 'times' split the ao into time segments | |
2221 'frequencies' split the ao into frequencies segments | |
2222 'samples' split the ao into sample segments | |
2223 'chunks' split the ao into chunks | |
2224 'duration' select a duration of a tsdata | |
2225 | |
2226 Necessary for the individual split types: | |
2227 <split type> <key> <description> | |
2228 'times' 'times' an array of start/stop times to | |
2229 split by. A negative stop time is taken from the end | |
2230 of the vector, e.g., [10 -10] removes 10 seconds from | |
2231 the beginning and end of the | |
2232 vector. An end time of 0 | |
2233 indicates the end of the vector. | |
2234 'frequencies' 'frequencies' an array of start/stop frequencies to split by | |
2235 'samples' 'samples' an array of start/stop samples to split by | |
2236 'chunks' 'N' split into N contiguous pieces | |
2237 'interval' 'start_time', 'stop_time' | |
2238 - start/stop time can be either a string or a time | |
2239 object (if a string, 'format_str' must be | |
2240 specified or specify the strings in UTC time format) | |
2241 'interval' 'start_time', 'duration' | |
2242 - start time and the duration can be either a string | |
2243 or a time object (if a string, 'format_str' must be | |
2244 specified or specify the strings in UTC time format) | |
2245 'interval' 'timespan' | |
2246 - the start/end time are specified in the time span | |
2247 object. | |
2248 | |
2249 The UTC time format is: 'yyyy-mm-dd HH:MM:SS' | |
2250 | |
2251 If more than one splitting method is specified, the priority | |
2252 goes like the list above. | |
2253 | |
2254 The time vector in the output AO retains the original | |
2255 time values (i.e. it doesn't start from zero). | |
2256 | |
2257 The splitting is done as s<=t<e. | |
2258 | |
2259 Arrays of start/stop values should be like: [s1 e1 s2 e2 ....] | |
2260 | |
2261 EXAMPLES: 1.) Split method by frequency. Get the values from 10-100 Hz | |
2262 pl = plist('split_type', 'frequencies', ... | |
2263 'frequencies', [10 100]); | |
2264 ao_new = split(a1, pl); | |
2265 | |
2266 2.) Split method by time. | |
2267 Get the values from 0.0 to 1.0 Seconds AND from 1.0 to 2.5 seconds | |
2268 pl = plist('split_type', 'times', ... | |
2269 'times', [0.0 1.0 1.0 2.5]); | |
2270 ao_new = split(a1, pl); | |
2271 | |
2272 3.) Split method by samples. | |
2273 Get the samples from 0 to 50 AND from 150 to 200. | |
2274 pl = plist('split_type', 'samples', ... | |
2275 'samples', [0 50 150 200]); | |
2276 ao_new = split(a1, pl); | |
2277 | |
2278 4.1) Select an interval with strings | |
2279 pl = plist('split_type', 'interval', ... | |
2280 'start_time', '14:00:01', ... | |
2281 'end_time', '14:00:02'); | |
2282 ao_new = split(a1, pl); | |
2283 | |
2284 pl = plist('split_type', 'interval', ... | |
2285 'start_time', '14:00:01', ... | |
2286 'duration', '00:00:02'); | |
2287 ao_new = split(a1, pl); | |
2288 | |
2289 Select an interval with milliseconds | |
2290 pl = plist('split_type', 'interval', ... | |
2291 'start_time', 5000, ... | |
2292 'end_time', 7000); | |
2293 ao_new = split(a1, pl); | |
2294 | |
2295 4.2) Select an interval with time objects | |
2296 pl = plist('split_type', 'interval', ... | |
2297 'start_time', time('14:00:01'), ... | |
2298 'end_time', time('14:00:03')); | |
2299 ao_new = split(a1, pl); | |
2300 | |
2301 pl = plist('split_type', 'interval', ... | |
2302 'start_time', time(5000), ... | |
2303 'duration', time(2000)); | |
2304 ao_new = split(a1, pl); | |
2305 | |
2306 4.3) Select an interval with a time span object | |
2307 pl = plist('split_type', 'interval', ... | |
2308 'timespan', timespan('14:00:00', '14:00:05')); | |
2309 ao_new = split(a1, pl); | |
2310 | |
2311 M-FILE INFO: Get information about this methods by calling | |
2312 >> ao.getInfo('split') | |
2313 | |
2314 Get information about a specified set-plist by calling: | |
2315 >> ao.getInfo('split', 'Default') | |
2316 | |
2317 VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ | |
2318 | |
2319 HISTORY: 02-03-07 M Hewitson | |
2320 Creation. | |
2321 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
2322 </HelpText> | |
2323 <sets> | |
2324 <set name="Default"/> | |
2325 <set name="By times"/> | |
2326 <set name="By frequencies"/> | |
2327 <set name="By samples"/> | |
2328 <set name="By chunks"/> | |
2329 <set name="By interval start/end"/> | |
2330 <set name="By interval start/duration"/> | |
2331 <set name="By interval timespan"/> | |
2332 </sets> | |
2333 <plists> | |
2334 <plist name="none"> | |
2335 <param> | |
2336 <key>SPLIT_TYPE</key> | |
2337 <val>times</val> | |
2338 <type>char</type> | |
2339 </param> | |
2340 <param> | |
2341 <key>TIMES</key> | |
2342 <val>[]</val> | |
2343 <type>double</type> | |
2344 </param> | |
2345 </plist> | |
2346 <plist name="none"> | |
2347 <param> | |
2348 <key>SPLIT_TYPE</key> | |
2349 <val>times</val> | |
2350 <type>char</type> | |
2351 </param> | |
2352 <param> | |
2353 <key>TIMES</key> | |
2354 <val>[]</val> | |
2355 <type>double</type> | |
2356 </param> | |
2357 </plist> | |
2358 <plist name="none"> | |
2359 <param> | |
2360 <key>SPLIT_TYPE</key> | |
2361 <val>frequencies</val> | |
2362 <type>char</type> | |
2363 </param> | |
2364 <param> | |
2365 <key>FREQUENCIES</key> | |
2366 <val>[]</val> | |
2367 <type>double</type> | |
2368 </param> | |
2369 </plist> | |
2370 <plist name="none"> | |
2371 <param> | |
2372 <key>SPLIT_TYPE</key> | |
2373 <val>samples</val> | |
2374 <type>char</type> | |
2375 </param> | |
2376 <param> | |
2377 <key>SAMPLES</key> | |
2378 <val>[]</val> | |
2379 <type>double</type> | |
2380 </param> | |
2381 </plist> | |
2382 <plist name="none"> | |
2383 <param> | |
2384 <key>SPLIT_TYPE</key> | |
2385 <val>chunks</val> | |
2386 <type>char</type> | |
2387 </param> | |
2388 <param> | |
2389 <key>N</key> | |
2390 <val>[]</val> | |
2391 <type>double</type> | |
2392 </param> | |
2393 </plist> | |
2394 <plist name="none"> | |
2395 <param> | |
2396 <key>SPLIT_TYPE</key> | |
2397 <val>interval</val> | |
2398 <type>char</type> | |
2399 </param> | |
2400 <param> | |
2401 <key>START_TIME</key> | |
2402 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
2403 <type>time</type> | |
2404 </param> | |
2405 <param> | |
2406 <key>END_TIME</key> | |
2407 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
2408 <type>time</type> | |
2409 </param> | |
2410 </plist> | |
2411 <plist name="none"> | |
2412 <param> | |
2413 <key>SPLIT_TYPE</key> | |
2414 <val>interval</val> | |
2415 <type>char</type> | |
2416 </param> | |
2417 <param> | |
2418 <key>START_TIME</key> | |
2419 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
2420 <type>time</type> | |
2421 </param> | |
2422 <param> | |
2423 <key>DURATION</key> | |
2424 <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> | |
2425 <type>time</type> | |
2426 </param> | |
2427 </plist> | |
2428 <plist name="none"> | |
2429 <param> | |
2430 <key>SPLIT_TYPE</key> | |
2431 <val>interval</val> | |
2432 <type>char</type> | |
2433 </param> | |
2434 <param> | |
2435 <key>TIMESPAN</key> | |
2436 <val>(start: 1970-01-01 00:00:00.000 end: 1970-01-01 00:00:00.000)</val> | |
2437 <type>timespan</type> | |
2438 </param> | |
2439 </plist> | |
2440 </plists> | |
2441 </LTPDAalgorithm> | |
2442 <plist name="none"> | |
2443 <param> | |
2444 <key>TIMES</key> | |
2445 <val>[200 -200]</val> | |
2446 <type>double</type> | |
2447 </param> | |
2448 </plist> | |
2449 <port number="0" terminal="" type="output"> | |
2450 <node> | |
2451 <pipe color="-3657166" dstblock="lpsd a2" dstport="0" srcblock="split a2" thickness="2.0"/> | |
2452 </node> | |
2453 </port> | |
2454 </block> | |
2455 <block bounds="530 370 60 60" inputs="1" name="lpsd a1" outputs="1"> | |
2456 <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="lpsd" mpackage="" mversion="" portdims="1 -1 1 -1"> | |
2457 <HelpText> LPSD implement the LPSD algorithm for analysis objects. | |
2458 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
2459 | |
2460 DESCRIPTION: LPSD implement the LPSD algorithm for analysis objects. | |
2461 | |
2462 CALL: bs = lpsd(as) | |
2463 | |
2464 INPUTS: as - array of analysis objects | |
2465 pl - parameter list (see below) | |
2466 | |
2467 OUTPUTS: bs - array of analysis objects, one for each input | |
2468 | |
2469 PARAMETER LIST: | |
2470 | |
2471 Kdes - desired number of averages (default 100) | |
2472 Lmin - minimum segment length (default 0) | |
2473 Jdes - number of spectral frequencies to compute (default fs/2) | |
2474 win - a specwin window object | |
2475 Only the design parameters of the window object are used; the | |
2476 window is recomputed for each DFT length inside the lpsd_core | |
2477 algorithm. | |
2478 Olap - desired overlap percentage (default: taken from window) | |
2479 Order - order of detrending | |
2480 -1 - no detrending | |
2481 0 - subtract mean | |
2482 1 - subtract linear fit | |
2483 N - subtract fit of polynomial, order N | |
2484 Scale - Scaling of output. Choose from: | |
2485 AS - Amplitude (linear) Spectrum | |
2486 ASD - Amplitude (linear) Spectral Density | |
2487 PS - Power Spectrum | |
2488 PSD - Power Spectral Density [default] | |
2489 | |
2490 M-FILE INFO: Get information about this methods by calling | |
2491 >> ao.getInfo('lpsd') | |
2492 | |
2493 Get information about a specified set-plist by calling: | |
2494 >> ao.getInfo('lpsd', 'None') | |
2495 | |
2496 VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ | |
2497 | |
2498 HISTORY: 02-02-07 M Hewitson | |
2499 Created | |
2500 | |
2501 References: "Improved spectrum estimation from digitized time series | |
2502 on a logarithmic frequency axis", Michael Troebs, Gerhard Heinzel, | |
2503 Measurement 39 (2006) 120-129. | |
2504 | |
2505 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
2506 </HelpText> | |
2507 <sets> | |
2508 <set name="Default"/> | |
2509 </sets> | |
2510 <plists> | |
2511 <plist name="none"> | |
2512 <param> | |
2513 <key>KDES</key> | |
2514 <val>100</val> | |
2515 <type>double</type> | |
2516 </param> | |
2517 <param> | |
2518 <key>JDES</key> | |
2519 <val>1000</val> | |
2520 <type>double</type> | |
2521 </param> | |
2522 <param> | |
2523 <key>LMIN</key> | |
2524 <val>0</val> | |
2525 <type>double</type> | |
2526 </param> | |
2527 <param> | |
2528 <key>WIN</key> | |
2529 <val> specwin('BH92', 0)</val> | |
2530 <type>specwin</type> | |
2531 </param> | |
2532 <param> | |
2533 <key>OLAP</key> | |
2534 <val>-1</val> | |
2535 <type>double</type> | |
2536 </param> | |
2537 <param> | |
2538 <key>ORDER</key> | |
2539 <val>0</val> | |
2540 <type>double</type> | |
2541 </param> | |
2542 <param> | |
2543 <key>SCALE</key> | |
2544 <val>PSD</val> | |
2545 <type>char</type> | |
2546 </param> | |
2547 </plist> | |
2548 </plists> | |
2549 </LTPDAalgorithm> | |
2550 <plist name="none"> | |
2551 <param> | |
2552 <key>KDES</key> | |
2553 <val>100</val> | |
2554 <type>double</type> | |
2555 </param> | |
2556 <param> | |
2557 <key>JDES</key> | |
2558 <val>1000</val> | |
2559 <type>double</type> | |
2560 </param> | |
2561 <param> | |
2562 <key>LMIN</key> | |
2563 <val>0</val> | |
2564 <type>double</type> | |
2565 </param> | |
2566 <param> | |
2567 <key>WIN</key> | |
2568 <val> specwin('BH92', 0)</val> | |
2569 <type>specwin</type> | |
2570 </param> | |
2571 <param> | |
2572 <key>OLAP</key> | |
2573 <val>-1</val> | |
2574 <type>double</type> | |
2575 </param> | |
2576 <param> | |
2577 <key>ORDER</key> | |
2578 <val>0</val> | |
2579 <type>double</type> | |
2580 </param> | |
2581 <param> | |
2582 <key>SCALE</key> | |
2583 <val>ASD</val> | |
2584 <type>char</type> | |
2585 </param> | |
2586 </plist> | |
2587 <port number="0" terminal="" type="output"> | |
2588 <node> | |
2589 <pipe color="-3657166" dstblock="plot" dstport="0" srcblock="lpsd a1" thickness="2.0"/> | |
2590 </node> | |
2591 </port> | |
2592 </block> | |
2593 <block bounds="550 470 60 60" inputs="1" name="lpsd a2" outputs="1"> | |
2594 <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="lpsd" mpackage="" mversion="" portdims="1 -1 1 -1"> | |
2595 <HelpText> LPSD implement the LPSD algorithm for analysis objects. | |
2596 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
2597 | |
2598 DESCRIPTION: LPSD implement the LPSD algorithm for analysis objects. | |
2599 | |
2600 CALL: bs = lpsd(as) | |
2601 | |
2602 INPUTS: as - array of analysis objects | |
2603 pl - parameter list (see below) | |
2604 | |
2605 OUTPUTS: bs - array of analysis objects, one for each input | |
2606 | |
2607 PARAMETER LIST: | |
2608 | |
2609 Kdes - desired number of averages (default 100) | |
2610 Lmin - minimum segment length (default 0) | |
2611 Jdes - number of spectral frequencies to compute (default fs/2) | |
2612 win - a specwin window object | |
2613 Only the design parameters of the window object are used; the | |
2614 window is recomputed for each DFT length inside the lpsd_core | |
2615 algorithm. | |
2616 Olap - desired overlap percentage (default: taken from window) | |
2617 Order - order of detrending | |
2618 -1 - no detrending | |
2619 0 - subtract mean | |
2620 1 - subtract linear fit | |
2621 N - subtract fit of polynomial, order N | |
2622 Scale - Scaling of output. Choose from: | |
2623 AS - Amplitude (linear) Spectrum | |
2624 ASD - Amplitude (linear) Spectral Density | |
2625 PS - Power Spectrum | |
2626 PSD - Power Spectral Density [default] | |
2627 | |
2628 M-FILE INFO: Get information about this methods by calling | |
2629 >> ao.getInfo('lpsd') | |
2630 | |
2631 Get information about a specified set-plist by calling: | |
2632 >> ao.getInfo('lpsd', 'None') | |
2633 | |
2634 VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ | |
2635 | |
2636 HISTORY: 02-02-07 M Hewitson | |
2637 Created | |
2638 | |
2639 References: "Improved spectrum estimation from digitized time series | |
2640 on a logarithmic frequency axis", Michael Troebs, Gerhard Heinzel, | |
2641 Measurement 39 (2006) 120-129. | |
2642 | |
2643 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
2644 </HelpText> | |
2645 <sets> | |
2646 <set name="Default"/> | |
2647 </sets> | |
2648 <plists> | |
2649 <plist name="none"> | |
2650 <param> | |
2651 <key>KDES</key> | |
2652 <val>100</val> | |
2653 <type>double</type> | |
2654 </param> | |
2655 <param> | |
2656 <key>JDES</key> | |
2657 <val>1000</val> | |
2658 <type>double</type> | |
2659 </param> | |
2660 <param> | |
2661 <key>LMIN</key> | |
2662 <val>0</val> | |
2663 <type>double</type> | |
2664 </param> | |
2665 <param> | |
2666 <key>WIN</key> | |
2667 <val> specwin('BH92', 0)</val> | |
2668 <type>specwin</type> | |
2669 </param> | |
2670 <param> | |
2671 <key>OLAP</key> | |
2672 <val>-1</val> | |
2673 <type>double</type> | |
2674 </param> | |
2675 <param> | |
2676 <key>ORDER</key> | |
2677 <val>0</val> | |
2678 <type>double</type> | |
2679 </param> | |
2680 <param> | |
2681 <key>SCALE</key> | |
2682 <val>PSD</val> | |
2683 <type>char</type> | |
2684 </param> | |
2685 </plist> | |
2686 </plists> | |
2687 </LTPDAalgorithm> | |
2688 <plist name="none"> | |
2689 <param> | |
2690 <key>KDES</key> | |
2691 <val>100</val> | |
2692 <type>double</type> | |
2693 </param> | |
2694 <param> | |
2695 <key>JDES</key> | |
2696 <val>1000</val> | |
2697 <type>double</type> | |
2698 </param> | |
2699 <param> | |
2700 <key>LMIN</key> | |
2701 <val>0</val> | |
2702 <type>double</type> | |
2703 </param> | |
2704 <param> | |
2705 <key>WIN</key> | |
2706 <val> specwin('BH92', 0)</val> | |
2707 <type>specwin</type> | |
2708 </param> | |
2709 <param> | |
2710 <key>OLAP</key> | |
2711 <val>-1</val> | |
2712 <type>double</type> | |
2713 </param> | |
2714 <param> | |
2715 <key>ORDER</key> | |
2716 <val>0</val> | |
2717 <type>double</type> | |
2718 </param> | |
2719 <param> | |
2720 <key>SCALE</key> | |
2721 <val>ASD</val> | |
2722 <type>char</type> | |
2723 </param> | |
2724 </plist> | |
2725 <port number="0" terminal="" type="output"> | |
2726 <node> | |
2727 <pipe color="-3657166" dstblock="plot" dstport="1" srcblock="lpsd a2" thickness="2.0"/> | |
2728 </node> | |
2729 </port> | |
2730 </block> | |
2731 <block bounds="670 400 60 60" inputs="4" name="plot" outputs="1"> | |
2732 <LTPDAalgorithm mcategory="Output" mclass="ao" mname="iplot" mpackage="" mversion="" portdims="1 -1 1 -1"> | |
2733 <HelpText> IPLOT provides an intelligent plotting tool for LTPDA. | |
2734 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
2735 | |
2736 DESCRIPTION: IPLOT provides an intelligent plotting tool for LTPDA. | |
2737 | |
2738 CALL: hfig = iplot (a,pl) | |
2739 [hfig, hax] = iplot (a,pl) | |
2740 [hfig, hax, hli] = iplot (a,pl) | |
2741 | |
2742 INPUTS: pl - a parameter list | |
2743 a - input analysis object | |
2744 | |
2745 OUTPUTS: hfig - handles to figures | |
2746 hax - handles to axes | |
2747 hli - handles to lines | |
2748 | |
2749 | |
2750 Plot parameters: | |
2751 | |
2752 'Arrangement' - select the plot layout: | |
2753 'single' - plots all AOs on individual figures | |
2754 'stacked' - plots all AOs on the same axes [default] | |
2755 'subplots' - plots all AOs on subplots | |
2756 | |
2757 'Function' - specify the plot function: | |
2758 'plot', 'stairs', 'stem' | |
2759 [default: 'plot'] | |
2760 *** doesn't work for xyzdata AOs | |
2761 | |
2762 Line parameters: | |
2763 | |
2764 The following properties take cell array values. If the length of | |
2765 the cell array is shorter than the number of lines to plot, the | |
2766 remaining lines will be plotted with the default options. If the | |
2767 cell array is of length 2 and the first cell contains the string | |
2768 'all', then the second cell is used to set the propery of all | |
2769 lines. | |
2770 | |
2771 'LineColors' - a cell array of color definitions for each line. | |
2772 | |
2773 'LineStyles' - a cell array of line styles. | |
2774 | |
2775 'Markers' - a cell array of markers. | |
2776 | |
2777 'LineWidths' - a cell array of line widths. If the length of the | |
2778 cell array is shorter than the number of lines to | |
2779 plot, the remaining lines will be plotted with | |
2780 the default line width. | |
2781 | |
2782 Axes parameters: | |
2783 | |
2784 'Legends' - specify a cell array of strings to be used for | |
2785 the plot legends. If a cell contains an empty | |
2786 string, the default legend string is built. | |
2787 If a single string 'off' is given instead of a | |
2788 cell array, then the legends are all switched | |
2789 off. | |
2790 | |
2791 'XLabels' - Specify the labels to be used on the x-axes. The | |
2792 units are added from the data object 'xunits' | |
2793 property. | |
2794 | |
2795 'YLabels' - Specify the labels to be used on the y-axes. The | |
2796 units are added from the data object 'yunits' | |
2797 property. If the object contains complex data, | |
2798 you should specify two y-labels for that object. | |
2799 | |
2800 The following axis properties also work with the 'all' keyword as | |
2801 described above in the line properties section. | |
2802 | |
2803 'XScales' - Specify the scales to be used on the x-axes. | |
2804 | |
2805 'YScales' - Specify the scales to the used on the y-axes. If | |
2806 an object contains complex data, you should | |
2807 specify two y-labels for that object. | |
2808 | |
2809 'XRanges' - Specify the ranges to be displayed on the x-axes. | |
2810 | |
2811 'YRanges' - Specify the ranges to the displayed on the | |
2812 y-axes. | |
2813 | |
2814 Error parameters: If you give more than one input AO then you must | |
2815 specify the following parameter values in a cell-array, | |
2816 one cell for each input AO. Leave the cell empty to | |
2817 plot no errors. Each error can be a value or a vector | |
2818 the same length as the data vector. If you give and | |
2819 upper limit but not lower limit, then the errors are | |
2820 assumed to be symmetric (and vice versa) | |
2821 | |
2822 'XerrL' - lower bound error values for the X data points. | |
2823 'XerrU' - upper bound error values for the X data points. | |
2824 'YerrL' - lower bound error values for the Y data points. | |
2825 'YerrU' - upper bound error values for the Y data points. | |
2826 | |
2827 Math operations: You can specify rudimentary math operations to be | |
2828 performed on the X and Y data prior to plotting. The | |
2829 'all' keyword is also supported by these parameters. | |
2830 | |
2831 'Xmaths' - specify math operations to perform on the | |
2832 data vector 'x'. For example, | |
2833 plist('Xmaths', 'abs(x)'). | |
2834 | |
2835 'Ymaths' - specify math operations to perform on the | |
2836 data vector 'y'. For example, | |
2837 plist('Ymaths', 'sqrt(y)'). | |
2838 | |
2839 Time-series parameters: in addition to the general options, time-series | |
2840 objects have the following additional parameters. | |
2841 | |
2842 'Xunits' - specify the units on the x-axis as | |
2843 'us' - microseconds | |
2844 'ms' - milliseconds | |
2845 's' - seconds [default] | |
2846 'm' - minutes | |
2847 'h' - hours | |
2848 'D' - days | |
2849 'M' - months | |
2850 'HH:MM:SS' - using a date/time format | |
2851 recognized by datetic (help datetic) | |
2852 | |
2853 | |
2854 Frequency-series parameters: | |
2855 | |
2856 'complexPlotType' - specify how to plot complex data. | |
2857 Choose from: | |
2858 - 'realimag' | |
2859 - 'absdeg' | |
2860 - 'absrad' | |
2861 | |
2862 EXAMPLES: | |
2863 | |
2864 1) Plot two time-series AOs with different colors, line styles, and widths | |
2865 | |
2866 pl = plist('Linecolors', {'g', 'k'}, 'LineStyles', {'', '--'}, 'LineWidths', {1, 4}); | |
2867 iplot(tsao1, tsao2, pl); | |
2868 | |
2869 2) Plot two time-series AOs in subplots. Also override the second legend | |
2870 text and the first line style. | |
2871 | |
2872 pl = plist('Arrangement', 'subplots', 'LineStyles', {'--'}, 'Legends', {'', 'My Sine Wave'}); | |
2873 iplot(tsao1, tsao2, pl); | |
2874 | |
2875 3) Plot two time-series AOs taking the square of the y-values of the | |
2876 first AO and the log of the x-values of the second AO. | |
2877 | |
2878 pl = plist('Arrangement', 'subplots', 'YMaths', 'y.^2', 'XMaths', {'', 'log(x)'}); | |
2879 iplot(tsao1, tsao2, pl); | |
2880 | |
2881 4) Plot two frequency-series AOs on subplots with the same Y-scales and | |
2882 Y-ranges | |
2883 | |
2884 pl1 = plist('Yscales', {'All', 'lin'}); | |
2885 pl2 = plist('arrangement', 'subplots', 'YRanges', {'All', [1e-6 100]}); | |
2886 iplot(fsd1, fsd2, pl1, pl2) | |
2887 | |
2888 | |
2889 M-FILE INFO: Get information about this methods by calling | |
2890 >> ao.getInfo('iplot') | |
2891 | |
2892 Get information about a specified set-plist by calling: | |
2893 >> ao.getInfo('iplot', 'None') | |
2894 | |
2895 VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ | |
2896 | |
2897 HISTORY: 22-12-07 M Hewitson | |
2898 Creation | |
2899 | |
2900 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
2901 </HelpText> | |
2902 <sets> | |
2903 <set name="Time-series plot"/> | |
2904 <set name="Frequency-series plot"/> | |
2905 <set name="Y data plot"/> | |
2906 <set name="X-Y data plot"/> | |
2907 <set name="3D plot"/> | |
2908 </sets> | |
2909 <plists> | |
2910 <plist name="none"> | |
2911 <param> | |
2912 <key>COLORS</key> | |
2913 <val>{[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]}</val> | |
2914 <type>cell</type> | |
2915 </param> | |
2916 <param> | |
2917 <key>ARRANGEMENT</key> | |
2918 <val>stacked</val> | |
2919 <type>char</type> | |
2920 </param> | |
2921 <param> | |
2922 <key>FUNCTION</key> | |
2923 <val>plot</val> | |
2924 <type>char</type> | |
2925 </param> | |
2926 <param> | |
2927 <key>LEGENDLOCATION</key> | |
2928 <val>NorthEast</val> | |
2929 <type>char</type> | |
2930 </param> | |
2931 <param> | |
2932 <key>XERRL</key> | |
2933 <val>[]</val> | |
2934 <type>double</type> | |
2935 </param> | |
2936 <param> | |
2937 <key>XERRU</key> | |
2938 <val>[]</val> | |
2939 <type>double</type> | |
2940 </param> | |
2941 <param> | |
2942 <key>YERRU</key> | |
2943 <val>[]</val> | |
2944 <type>double</type> | |
2945 </param> | |
2946 <param> | |
2947 <key>YERRL</key> | |
2948 <val>[]</val> | |
2949 <type>double</type> | |
2950 </param> | |
2951 <param> | |
2952 <key>XLABEL</key> | |
2953 <val>Time</val> | |
2954 <type>char</type> | |
2955 </param> | |
2956 <param> | |
2957 <key>YLABEL</key> | |
2958 <val>Amplitude</val> | |
2959 <type>char</type> | |
2960 </param> | |
2961 </plist> | |
2962 <plist name="none"> | |
2963 <param> | |
2964 <key>COLORS</key> | |
2965 <val>{[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]}</val> | |
2966 <type>cell</type> | |
2967 </param> | |
2968 <param> | |
2969 <key>ARRANGEMENT</key> | |
2970 <val>stacked</val> | |
2971 <type>char</type> | |
2972 </param> | |
2973 <param> | |
2974 <key>FUNCTION</key> | |
2975 <val>plot</val> | |
2976 <type>char</type> | |
2977 </param> | |
2978 <param> | |
2979 <key>LEGENDLOCATION</key> | |
2980 <val>NorthEast</val> | |
2981 <type>char</type> | |
2982 </param> | |
2983 <param> | |
2984 <key>XERRL</key> | |
2985 <val>[]</val> | |
2986 <type>double</type> | |
2987 </param> | |
2988 <param> | |
2989 <key>XERRU</key> | |
2990 <val>[]</val> | |
2991 <type>double</type> | |
2992 </param> | |
2993 <param> | |
2994 <key>YERRU</key> | |
2995 <val>[]</val> | |
2996 <type>double</type> | |
2997 </param> | |
2998 <param> | |
2999 <key>YERRL</key> | |
3000 <val>[]</val> | |
3001 <type>double</type> | |
3002 </param> | |
3003 <param> | |
3004 <key>COMPLEXPLOTTYPE</key> | |
3005 <val>absdeg</val> | |
3006 <type>char</type> | |
3007 </param> | |
3008 <param> | |
3009 <key>XLABEL</key> | |
3010 <val>Frequency</val> | |
3011 <type>char</type> | |
3012 </param> | |
3013 </plist> | |
3014 <plist name="none"> | |
3015 <param> | |
3016 <key>COLORS</key> | |
3017 <val>{[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]}</val> | |
3018 <type>cell</type> | |
3019 </param> | |
3020 <param> | |
3021 <key>ARRANGEMENT</key> | |
3022 <val>stacked</val> | |
3023 <type>char</type> | |
3024 </param> | |
3025 <param> | |
3026 <key>FUNCTION</key> | |
3027 <val>plot</val> | |
3028 <type>char</type> | |
3029 </param> | |
3030 <param> | |
3031 <key>LEGENDLOCATION</key> | |
3032 <val>NorthEast</val> | |
3033 <type>char</type> | |
3034 </param> | |
3035 <param> | |
3036 <key>XERRL</key> | |
3037 <val>[]</val> | |
3038 <type>double</type> | |
3039 </param> | |
3040 <param> | |
3041 <key>XERRU</key> | |
3042 <val>[]</val> | |
3043 <type>double</type> | |
3044 </param> | |
3045 <param> | |
3046 <key>YERRU</key> | |
3047 <val>[]</val> | |
3048 <type>double</type> | |
3049 </param> | |
3050 <param> | |
3051 <key>YERRL</key> | |
3052 <val>[]</val> | |
3053 <type>double</type> | |
3054 </param> | |
3055 <param> | |
3056 <key>XLABEL</key> | |
3057 <val>Sample</val> | |
3058 <type>char</type> | |
3059 </param> | |
3060 <param> | |
3061 <key>YLABEL</key> | |
3062 <val>Value</val> | |
3063 <type>char</type> | |
3064 </param> | |
3065 </plist> | |
3066 <plist name="none"> | |
3067 <param> | |
3068 <key>COLORS</key> | |
3069 <val>{[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]}</val> | |
3070 <type>cell</type> | |
3071 </param> | |
3072 <param> | |
3073 <key>ARRANGEMENT</key> | |
3074 <val>stacked</val> | |
3075 <type>char</type> | |
3076 </param> | |
3077 <param> | |
3078 <key>FUNCTION</key> | |
3079 <val>plot</val> | |
3080 <type>char</type> | |
3081 </param> | |
3082 <param> | |
3083 <key>LEGENDLOCATION</key> | |
3084 <val>NorthEast</val> | |
3085 <type>char</type> | |
3086 </param> | |
3087 <param> | |
3088 <key>XERRL</key> | |
3089 <val>[]</val> | |
3090 <type>double</type> | |
3091 </param> | |
3092 <param> | |
3093 <key>XERRU</key> | |
3094 <val>[]</val> | |
3095 <type>double</type> | |
3096 </param> | |
3097 <param> | |
3098 <key>YERRU</key> | |
3099 <val>[]</val> | |
3100 <type>double</type> | |
3101 </param> | |
3102 <param> | |
3103 <key>YERRL</key> | |
3104 <val>[]</val> | |
3105 <type>double</type> | |
3106 </param> | |
3107 <param> | |
3108 <key>XLABEL</key> | |
3109 <val>X-data</val> | |
3110 <type>char</type> | |
3111 </param> | |
3112 <param> | |
3113 <key>YLABEL</key> | |
3114 <val>Y-data</val> | |
3115 <type>char</type> | |
3116 </param> | |
3117 <param> | |
3118 <key>YMATHS</key> | |
3119 <val/> | |
3120 <type>char</type> | |
3121 </param> | |
3122 <param> | |
3123 <key>XMATHS</key> | |
3124 <val/> | |
3125 <type>char</type> | |
3126 </param> | |
3127 </plist> | |
3128 <plist name="none"> | |
3129 <param> | |
3130 <key>COLORS</key> | |
3131 <val>{[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]}</val> | |
3132 <type>cell</type> | |
3133 </param> | |
3134 <param> | |
3135 <key>ARRANGEMENT</key> | |
3136 <val>single</val> | |
3137 <type>char</type> | |
3138 </param> | |
3139 <param> | |
3140 <key>XLABEL</key> | |
3141 <val>Time</val> | |
3142 <type>char</type> | |
3143 </param> | |
3144 <param> | |
3145 <key>YLABEL</key> | |
3146 <val>Frequency</val> | |
3147 <type>char</type> | |
3148 </param> | |
3149 <param> | |
3150 <key>ZLABEL</key> | |
3151 <val>Amplitude</val> | |
3152 <type>char</type> | |
3153 </param> | |
3154 <param> | |
3155 <key>YMATHS</key> | |
3156 <val/> | |
3157 <type>char</type> | |
3158 </param> | |
3159 <param> | |
3160 <key>ZMATHS</key> | |
3161 <val/> | |
3162 <type>char</type> | |
3163 </param> | |
3164 <param> | |
3165 <key>XMATHS</key> | |
3166 <val/> | |
3167 <type>char</type> | |
3168 </param> | |
3169 </plist> | |
3170 </plists> | |
3171 </LTPDAalgorithm> | |
3172 <plist name="none"> | |
3173 <param> | |
3174 <key>YLABELS</key> | |
3175 <val>{'All', 'Spectral Density'}</val> | |
3176 <type>cell</type> | |
3177 </param> | |
3178 <param> | |
3179 <key>XLABELS</key> | |
3180 <val>Frequency</val> | |
3181 <type>char</type> | |
3182 </param> | |
3183 <param> | |
3184 <key>LINESTYLES</key> | |
3185 <val>{'', '--', ''}</val> | |
3186 <type>cell</type> | |
3187 </param> | |
3188 <param> | |
3189 <key>XRANGES</key> | |
3190 <val>[0.0001 5]</val> | |
3191 <type>double</type> | |
3192 </param> | |
3193 <param> | |
3194 <key>LEGENDS</key> | |
3195 <val>{'a11', 'a11r', 'a22', 'a22r'}</val> | |
3196 <type>cell</type> | |
3197 </param> | |
3198 </plist> | |
3199 <port number="0" terminal="" type="output"/> | |
3200 </block> | |
3201 </document> | |
3202 </LTPDAworkbench> |