Mercurial > hg > ltpda
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m-toolbox/test/MPipeline/mdc1_tdcal.lwb Wed Nov 23 19:22:13 2011 +0100 @@ -0,0 +1,3202 @@ +<?xml version="1.0" encoding="utf-8"?> +<LTPDAworkbench filepath="/Users/hewitson/working/ltp/ltpda/software/m-toolbox/test/MPipeline/mdc1_tdcal.lwb" name="Untitled"> + <document name="MDC1 Time_domain" parentDiag="" visible="true" windowHeight="624" windowState="maximized" windowWidth="689" windowX="0" windowY="0" zoomFactor="1.0"> + <block bounds="370 0 60 60" inputs="0" name="a11xx" outputs="1"> + <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"> + <HelpText> % Update the predefined properties to get the right created time +</HelpText> + <sets> + <set name="Default"/> + <set name="From XML File"/> + <set name="From MAT File"/> + <set name="From ASCII File"/> + <set name="From Function"/> + <set name="From Values"/> + <set name="From Time-series Function"/> + <set name="From XY Function"/> + <set name="From Frequency-series Function"/> + <set name="From Window"/> + <set name="From Waveform"/> + <set name="From Polynomial"/> + <set name="From Repository"/> + <set name="From Plist"/> + <set name="From Pzmodel"/> + <set name="From Built-in Model"/> + </sets> + <plists> + <plist name="none"/> + <plist name="none"> + <param> + <key>FILENAME</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FILENAME</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FILENAME</key> + <val/> + <type>char</type> + </param> + <param> + <key>TYPE</key> + <val>tsdata</val> + <type>char</type> + </param> + <param> + <key>COLUMNS</key> + <val>[1 2]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + <param> + <key>COMMENT_CHAR</key> + <val/> + <type>char</type> + </param> + <param> + <key>USE_FS</key> + <val/> + <type>char</type> + </param> + <param> + <key>ROBUST</key> + <val>yes</val> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FCN</key> + <val>randn(100,1)</val> + <type>char</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>VALS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>N</key> + <val>1</val> + <type>double</type> + </param> + <param> + <key>DTYPE</key> + <val/> + <type>char</type> + </param> + <param> + <key>FS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XVALS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YVALS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YUNITS</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>TSFCN</key> + <val>t</val> + <type>char</type> + </param> + <param> + <key>FS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>NSECS</key> + <val>1</val> + <type>double</type> + </param> + <param> + <key>T0</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>XYFCN</key> + <val>x</val> + <type>char</type> + </param> + <param> + <key>X</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FSFCN</key> + <val>f</val> + <type>char</type> + </param> + <param> + <key>F1</key> + <val>1e-09</val> + <type>double</type> + </param> + <param> + <key>F2</key> + <val>5</val> + <type>double</type> + </param> + <param> + <key>NF</key> + <val>1000</val> + <type>double</type> + </param> + <param> + <key>SCALE</key> + <val>log</val> + <type>char</type> + </param> + <param> + <key>F</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' Hz ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>WIN</key> + <val> specwin('Hanning', 100)</val> + <type>specwin</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>WAVEFORM</key> + <val>sine wave</val> + <type>char</type> + </param> + <param> + <key>A</key> + <val>1</val> + <type>double</type> + </param> + <param> + <key>F</key> + <val>1.23</val> + <type>double</type> + </param> + <param> + <key>PHI</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>FS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>NSECS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>T0</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + <param> + <key>TOFF</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>POLYVAL</key> + <val>[-0.0001 0.02 -1 -1]</val> + <type>double</type> + </param> + <param> + <key>NSECS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>FS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>T</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>HOSTNAME</key> + <val>localhost</val> + <type>char</type> + </param> + <param> + <key>DATABASE</key> + <val>ltpda</val> + <type>char</type> + </param> + <param> + <key>ID</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>BINARY</key> + <val>no</val> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>PLIST</key> + <val>(empty-plist)</val> + <type>plist</type> + </param> + </plist> + <plist name="none"> + <param> + <key>PZMODEL</key> + <val>pzmodel(none)</val> + <type>pzmodel</type> + </param> + <param> + <key>NSECS</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>FS</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>BUILT-IN</key> + <val/> + <type>char</type> + </param> + </plist> + </plists> + </LTPDAalgorithm> + <plist name="none"> + <param> + <key>FILENAME</key> + <val>a11xx.xml</val> + <type>char</type> + </param> + <param> + <key>XUNITS</key> + <val>s</val> + <type>char</type> + </param> + <param> + <key>YUNITS</key> + <val>m</val> + <type>char</type> + </param> + </plist> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="sqrt1" dstport="0" srcblock="a11xx" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="470 0 60 60" inputs="1" name="sqrt1" outputs="1"> + <LTPDAalgorithm mcategory="Operator" mclass="ao" mname="sqrt" mpackage="" mversion="" portdims="1 -1 1 -1"> + <HelpText> SQRT computes the square root of the data in the AO. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + DESCRIPTION: SQRT computes the square root of the data in the AO. + + CALL: ao_out = sqrt(ao_in); + ao_out = sqrt(ao_in, pl); + + PARAMETERS: see help for data2D/applymethod for additional parameters + + M-FILE INFO: Get information about this methods by calling + >> ao.getInfo('sqrt') + + Get information about a specified set-plist by calling: + >> ao.getInfo('sqrt', 'None') + + VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ + + HISTORY: 12-03-07 M Hewitson + Creation + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +</HelpText> + <sets> + <set name="Default"/> + </sets> + <plists> + <plist name="none"> + <param> + <key>AXIS</key> + <val>y</val> + <type>char</type> + </param> + </plist> + </plists> + </LTPDAalgorithm> + <plist name="none"> + <param> + <key>AXIS</key> + <val>y</val> + <type>char</type> + </param> + </plist> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="plot" dstport="2" srcblock="sqrt1" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="410 100 60 60" inputs="0" name="a22xx" outputs="1"> + <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"> + <HelpText> % Update the predefined properties to get the right created time +</HelpText> + <sets> + <set name="Default"/> + <set name="From XML File"/> + <set name="From MAT File"/> + <set name="From ASCII File"/> + <set name="From Function"/> + <set name="From Values"/> + <set name="From Time-series Function"/> + <set name="From XY Function"/> + <set name="From Frequency-series Function"/> + <set name="From Window"/> + <set name="From Waveform"/> + <set name="From Polynomial"/> + <set name="From Repository"/> + <set name="From Plist"/> + <set name="From Pzmodel"/> + <set name="From Built-in Model"/> + </sets> + <plists> + <plist name="none"/> + <plist name="none"> + <param> + <key>FILENAME</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FILENAME</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FILENAME</key> + <val/> + <type>char</type> + </param> + <param> + <key>TYPE</key> + <val>tsdata</val> + <type>char</type> + </param> + <param> + <key>COLUMNS</key> + <val>[1 2]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + <param> + <key>COMMENT_CHAR</key> + <val/> + <type>char</type> + </param> + <param> + <key>USE_FS</key> + <val/> + <type>char</type> + </param> + <param> + <key>ROBUST</key> + <val>yes</val> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FCN</key> + <val>randn(100,1)</val> + <type>char</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>VALS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>N</key> + <val>1</val> + <type>double</type> + </param> + <param> + <key>DTYPE</key> + <val/> + <type>char</type> + </param> + <param> + <key>FS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XVALS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YVALS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YUNITS</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>TSFCN</key> + <val>t</val> + <type>char</type> + </param> + <param> + <key>FS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>NSECS</key> + <val>1</val> + <type>double</type> + </param> + <param> + <key>T0</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>XYFCN</key> + <val>x</val> + <type>char</type> + </param> + <param> + <key>X</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FSFCN</key> + <val>f</val> + <type>char</type> + </param> + <param> + <key>F1</key> + <val>1e-09</val> + <type>double</type> + </param> + <param> + <key>F2</key> + <val>5</val> + <type>double</type> + </param> + <param> + <key>NF</key> + <val>1000</val> + <type>double</type> + </param> + <param> + <key>SCALE</key> + <val>log</val> + <type>char</type> + </param> + <param> + <key>F</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' Hz ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>WIN</key> + <val> specwin('Hanning', 100)</val> + <type>specwin</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>WAVEFORM</key> + <val>sine wave</val> + <type>char</type> + </param> + <param> + <key>A</key> + <val>1</val> + <type>double</type> + </param> + <param> + <key>F</key> + <val>1.23</val> + <type>double</type> + </param> + <param> + <key>PHI</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>FS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>NSECS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>T0</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + <param> + <key>TOFF</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>POLYVAL</key> + <val>[-0.0001 0.02 -1 -1]</val> + <type>double</type> + </param> + <param> + <key>NSECS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>FS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>T</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>HOSTNAME</key> + <val>localhost</val> + <type>char</type> + </param> + <param> + <key>DATABASE</key> + <val>ltpda</val> + <type>char</type> + </param> + <param> + <key>ID</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>BINARY</key> + <val>no</val> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>PLIST</key> + <val>(empty-plist)</val> + <type>plist</type> + </param> + </plist> + <plist name="none"> + <param> + <key>PZMODEL</key> + <val>pzmodel(none)</val> + <type>pzmodel</type> + </param> + <param> + <key>NSECS</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>FS</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>BUILT-IN</key> + <val/> + <type>char</type> + </param> + </plist> + </plists> + </LTPDAalgorithm> + <plist name="none"> + <param> + <key>FILENAME</key> + <val>a22xx.xml</val> + <type>char</type> + </param> + <param> + <key>XUNITS</key> + <val>s</val> + <type>char</type> + </param> + <param> + <key>YUNITS</key> + <val>m</val> + <type>char</type> + </param> + </plist> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="sqrt2" dstport="0" srcblock="a22xx" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="510 100 60 60" inputs="1" name="sqrt2" outputs="1"> + <LTPDAalgorithm mcategory="Operator" mclass="ao" mname="sqrt" mpackage="" mversion="" portdims="1 -1 1 -1"> + <HelpText> SQRT computes the square root of the data in the AO. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + DESCRIPTION: SQRT computes the square root of the data in the AO. + + CALL: ao_out = sqrt(ao_in); + ao_out = sqrt(ao_in, pl); + + PARAMETERS: see help for data2D/applymethod for additional parameters + + M-FILE INFO: Get information about this methods by calling + >> ao.getInfo('sqrt') + + Get information about a specified set-plist by calling: + >> ao.getInfo('sqrt', 'None') + + VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ + + HISTORY: 12-03-07 M Hewitson + Creation + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +</HelpText> + <sets> + <set name="Default"/> + </sets> + <plists> + <plist name="none"> + <param> + <key>AXIS</key> + <val>y</val> + <type>char</type> + </param> + </plist> + </plists> + </LTPDAalgorithm> + <plist name="none"> + <param> + <key>AXIS</key> + <val>y</val> + <type>char</type> + </param> + </plist> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="plot" dstport="3" srcblock="sqrt2" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="0 300 60 60" inputs="0" name="o1" outputs="1"> + <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"> + <HelpText> % Update the predefined properties to get the right created time +</HelpText> + <sets> + <set name="Default"/> + <set name="From XML File"/> + <set name="From MAT File"/> + <set name="From ASCII File"/> + <set name="From Function"/> + <set name="From Values"/> + <set name="From Time-series Function"/> + <set name="From XY Function"/> + <set name="From Frequency-series Function"/> + <set name="From Window"/> + <set name="From Waveform"/> + <set name="From Polynomial"/> + <set name="From Repository"/> + <set name="From Plist"/> + <set name="From Pzmodel"/> + <set name="From Built-in Model"/> + </sets> + <plists> + <plist name="none"/> + <plist name="none"> + <param> + <key>FILENAME</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FILENAME</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FILENAME</key> + <val/> + <type>char</type> + </param> + <param> + <key>TYPE</key> + <val>tsdata</val> + <type>char</type> + </param> + <param> + <key>COLUMNS</key> + <val>[1 2]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + <param> + <key>COMMENT_CHAR</key> + <val/> + <type>char</type> + </param> + <param> + <key>USE_FS</key> + <val/> + <type>char</type> + </param> + <param> + <key>ROBUST</key> + <val>yes</val> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FCN</key> + <val>randn(100,1)</val> + <type>char</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>VALS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>N</key> + <val>1</val> + <type>double</type> + </param> + <param> + <key>DTYPE</key> + <val/> + <type>char</type> + </param> + <param> + <key>FS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XVALS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YVALS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YUNITS</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>TSFCN</key> + <val>t</val> + <type>char</type> + </param> + <param> + <key>FS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>NSECS</key> + <val>1</val> + <type>double</type> + </param> + <param> + <key>T0</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>XYFCN</key> + <val>x</val> + <type>char</type> + </param> + <param> + <key>X</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FSFCN</key> + <val>f</val> + <type>char</type> + </param> + <param> + <key>F1</key> + <val>1e-09</val> + <type>double</type> + </param> + <param> + <key>F2</key> + <val>5</val> + <type>double</type> + </param> + <param> + <key>NF</key> + <val>1000</val> + <type>double</type> + </param> + <param> + <key>SCALE</key> + <val>log</val> + <type>char</type> + </param> + <param> + <key>F</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' Hz ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>WIN</key> + <val> specwin('Hanning', 100)</val> + <type>specwin</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>WAVEFORM</key> + <val>sine wave</val> + <type>char</type> + </param> + <param> + <key>A</key> + <val>1</val> + <type>double</type> + </param> + <param> + <key>F</key> + <val>1.23</val> + <type>double</type> + </param> + <param> + <key>PHI</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>FS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>NSECS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>T0</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + <param> + <key>TOFF</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>POLYVAL</key> + <val>[-0.0001 0.02 -1 -1]</val> + <type>double</type> + </param> + <param> + <key>NSECS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>FS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>T</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>HOSTNAME</key> + <val>localhost</val> + <type>char</type> + </param> + <param> + <key>DATABASE</key> + <val>ltpda</val> + <type>char</type> + </param> + <param> + <key>ID</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>BINARY</key> + <val>no</val> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>PLIST</key> + <val>(empty-plist)</val> + <type>plist</type> + </param> + </plist> + <plist name="none"> + <param> + <key>PZMODEL</key> + <val>pzmodel(none)</val> + <type>pzmodel</type> + </param> + <param> + <key>NSECS</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>FS</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>BUILT-IN</key> + <val/> + <type>char</type> + </param> + </plist> + </plists> + </LTPDAalgorithm> + <plist name="none"> + <param> + <key>FILENAME</key> + <val>o1_1.xml</val> + <type>char</type> + </param> + <param> + <key>XUNITS</key> + <val>s</val> + <type>char</type> + </param> + <param> + <key>YUNITS</key> + <val>m</val> + <type>char</type> + </param> + </plist> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="inloop acc" dstport="0" srcblock="o1" thickness="2.0"/> + <pipe color="-3657166" dstblock="control" dstport="0" srcblock="o1" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="30 400 60 60" inputs="0" name="o12" outputs="1"> + <LTPDAalgorithm mcategory="Constructor" mclass="ao" mname="ao" mpackage="" mversion="" portdims="0 -1 1 1"> + <HelpText> % Update the predefined properties to get the right created time +</HelpText> + <sets> + <set name="Default"/> + <set name="From XML File"/> + <set name="From MAT File"/> + <set name="From ASCII File"/> + <set name="From Function"/> + <set name="From Values"/> + <set name="From Time-series Function"/> + <set name="From XY Function"/> + <set name="From Frequency-series Function"/> + <set name="From Window"/> + <set name="From Waveform"/> + <set name="From Polynomial"/> + <set name="From Repository"/> + <set name="From Plist"/> + <set name="From Pzmodel"/> + <set name="From Built-in Model"/> + </sets> + <plists> + <plist name="none"/> + <plist name="none"> + <param> + <key>FILENAME</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FILENAME</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FILENAME</key> + <val/> + <type>char</type> + </param> + <param> + <key>TYPE</key> + <val>tsdata</val> + <type>char</type> + </param> + <param> + <key>COLUMNS</key> + <val>[1 2]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + <param> + <key>COMMENT_CHAR</key> + <val/> + <type>char</type> + </param> + <param> + <key>USE_FS</key> + <val/> + <type>char</type> + </param> + <param> + <key>ROBUST</key> + <val>yes</val> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FCN</key> + <val>randn(100,1)</val> + <type>char</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>VALS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>N</key> + <val>1</val> + <type>double</type> + </param> + <param> + <key>DTYPE</key> + <val/> + <type>char</type> + </param> + <param> + <key>FS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XVALS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YVALS</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YUNITS</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>TSFCN</key> + <val>t</val> + <type>char</type> + </param> + <param> + <key>FS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>NSECS</key> + <val>1</val> + <type>double</type> + </param> + <param> + <key>T0</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>XYFCN</key> + <val>x</val> + <type>char</type> + </param> + <param> + <key>X</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>FSFCN</key> + <val>f</val> + <type>char</type> + </param> + <param> + <key>F1</key> + <val>1e-09</val> + <type>double</type> + </param> + <param> + <key>F2</key> + <val>5</val> + <type>double</type> + </param> + <param> + <key>NF</key> + <val>1000</val> + <type>double</type> + </param> + <param> + <key>SCALE</key> + <val>log</val> + <type>char</type> + </param> + <param> + <key>F</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' Hz ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>WIN</key> + <val> specwin('Hanning', 100)</val> + <type>specwin</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>WAVEFORM</key> + <val>sine wave</val> + <type>char</type> + </param> + <param> + <key>A</key> + <val>1</val> + <type>double</type> + </param> + <param> + <key>F</key> + <val>1.23</val> + <type>double</type> + </param> + <param> + <key>PHI</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>FS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>NSECS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>T0</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + <param> + <key>TOFF</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>POLYVAL</key> + <val>[-0.0001 0.02 -1 -1]</val> + <type>double</type> + </param> + <param> + <key>NSECS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>FS</key> + <val>10</val> + <type>double</type> + </param> + <param> + <key>T</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>HOSTNAME</key> + <val>localhost</val> + <type>char</type> + </param> + <param> + <key>DATABASE</key> + <val>ltpda</val> + <type>char</type> + </param> + <param> + <key>ID</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>BINARY</key> + <val>no</val> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>PLIST</key> + <val>(empty-plist)</val> + <type>plist</type> + </param> + </plist> + <plist name="none"> + <param> + <key>PZMODEL</key> + <val>pzmodel(none)</val> + <type>pzmodel</type> + </param> + <param> + <key>NSECS</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>FS</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>XUNITS</key> + <val>[ unit(' s ') ]</val> + <type>unit</type> + </param> + <param> + <key>YUNITS</key> + <val>[ unit(' ') ]</val> + <type>unit</type> + </param> + </plist> + <plist name="none"> + <param> + <key>BUILT-IN</key> + <val/> + <type>char</type> + </param> + </plist> + </plists> + </LTPDAalgorithm> + <plist name="none"> + <param> + <key>FILENAME</key> + <val>o12_1.xml</val> + <type>char</type> + </param> + <param> + <key>XUNITS</key> + <val>s</val> + <type>char</type> + </param> + <param> + <key>YUNITS</key> + <val>m</val> + <type>char</type> + </param> + </plist> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="inloop acc" dstport="1" srcblock="o12" thickness="2.0"/> + <pipe color="-3657166" dstblock="control" dstport="1" srcblock="o12" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="150 350 60 60" inputs="2" name="inloop acc" outputs="2"> + <LTPDAalgorithm mcategory="MDC01" mclass="ao" mname="mdc1_ifo2acc_inloop" mpackage="" mversion="" portdims="1 -1 1 -1"> + <HelpText> MDC1_IFO2ACC_INLOOP calculates the inloop acceleration in the time-domain. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + DESCRIPTION: MDC1_IFO2ACC_INLOOP calculates the inloop acceleration + in the time-domain for MDC1. + + It computes: a = DS^-1 o + + CALL: [a1,a2] = mdc1_ifo2acc_inloop(o1,o12,pl) + + INPUTS: o1 - time-series of the IFO output o1 + o12 - time-series of the IFO output o12 + + PARAMETERS: 'Omega1' - the square of the stiffness term for the dynamical response + of test-mass 1 coupling to SC [default: 1.3e-6] + 'Omega3' - the square of the stiffness term for the dynamical response + of test-mass 2 coupling to SC [default: 2e-6] + 'delta' - the cross-coupling factor of o1 into o12 [default: -1e-4] + + M-FILE INFO: Get information about this methods by calling + >> ao.getInfo('mdc1_ifo2acc_inloop') + + Get information about a specified set-plist by calling: + >> ao.getInfo('mdc1_ifo2acc_inloop', 'None') + + VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ + + HISTORY: 11-04-08 M Hewitson + Creation + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +</HelpText> + <sets> + <set name="Default"/> + </sets> + <plists> + <plist name="none"> + <param> + <key>OMEGA1</key> + <val>1.3e-06</val> + <type>double</type> + </param> + <param> + <key>OMEGA3</key> + <val>2e-06</val> + <type>double</type> + </param> + <param> + <key>DELTA</key> + <val>-0.0001</val> + <type>double</type> + </param> + </plist> + </plists> + </LTPDAalgorithm> + <plist name="none"> + <param> + <key>OMEGA1</key> + <val>1.3e-06</val> + <type>double</type> + </param> + <param> + <key>OMEGA3</key> + <val>2e-06</val> + <type>double</type> + </param> + <param> + <key>DELTA</key> + <val>-0.0001</val> + <type>double</type> + </param> + </plist> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="subtract 1" dstport="0" srcblock="inloop acc" thickness="2.0"/> + </node> + </port> + <port number="1" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="subtract 2" dstport="0" srcblock="inloop acc" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="200 450 60 60" inputs="2" name="control" outputs="2"> + <LTPDAalgorithm mcategory="MDC01" mclass="ao" mname="mdc1_ifo2control" mpackage="" mversion="" portdims="1 -1 1 -1"> + <HelpText> MDC1_IFO2CONTROL converts the input time-series to control forces. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + DESCRIPTION: MDC1_IFO2CONTROL converts the input time-series to control forces. + + CALL: c = mdc1_ifo2control(o1, o12) + + INPUTS: o1 - time-series of the IFO output o1 + o12 - time-series of the IFO output o12 + + M-FILE INFO: Get information about this methods by calling + >> ao.getInfo('mdc1_ifo2control') + + Get information about a specified set-plist by calling: + >> ao.getInfo('mdc1_ifo2control', 'None') + + VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ + + HISTORY: 11-04-08 M Hewitson + Creation + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +</HelpText> + <sets> + <set name="Default"/> + </sets> + <plists> + <plist name="none"/> + </plists> + </LTPDAalgorithm> + <plist name="none"/> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="subtract 1" dstport="1" srcblock="control" thickness="2.0"/> + </node> + </port> + <port number="1" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="subtract 2" dstport="1" srcblock="control" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="300 330 60 60" inputs="2" name="subtract 1" outputs="1"> + <LTPDAalgorithm mcategory="Arithmetic Operator" mclass="ao" mname="minus" mpackage="" mversion="" portdims="1 -1 1 -1"> + <HelpText> MINUS implements subtraction operator for analysis objects. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + DESCRIPTION: MINUS implements subtraction operator for two analysis objects. + + CALL: + a = a1-a2 + a = minus(a1,a2); + a = minus(a1,a2,a3) == minus(add(a1,a2),a3) + + More than two inputs are handled with nested calls. + + M-FILE INFO: Get information about this methods by calling + >> ao.getInfo('minus') + + Get information about a specified set-plist by calling: + >> ao.getInfo('minus', 'None') + + VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ + + HISTORY: 01-02-07 M Hewitson + Creation + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +</HelpText> + <sets> + <set name="Default"/> + </sets> + <plists> + <plist name="none"/> + </plists> + </LTPDAalgorithm> + <plist name="none"/> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="split a1" dstport="0" srcblock="subtract 1" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="350 470 60 60" inputs="2" name="subtract 2" outputs="1"> + <LTPDAalgorithm mcategory="Arithmetic Operator" mclass="ao" mname="minus" mpackage="" mversion="" portdims="1 -1 1 -1"> + <HelpText> MINUS implements subtraction operator for analysis objects. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + DESCRIPTION: MINUS implements subtraction operator for two analysis objects. + + CALL: + a = a1-a2 + a = minus(a1,a2); + a = minus(a1,a2,a3) == minus(add(a1,a2),a3) + + More than two inputs are handled with nested calls. + + M-FILE INFO: Get information about this methods by calling + >> ao.getInfo('minus') + + Get information about a specified set-plist by calling: + >> ao.getInfo('minus', 'None') + + VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ + + HISTORY: 01-02-07 M Hewitson + Creation + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +</HelpText> + <sets> + <set name="Default"/> + </sets> + <plists> + <plist name="none"/> + </plists> + </LTPDAalgorithm> + <plist name="none"/> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="split a2" dstport="0" srcblock="subtract 2" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="420 350 60 60" inputs="1" name="split a1" outputs="1"> + <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="split" mpackage="" mversion="" portdims="1 -1 1 -1"> + <HelpText> SPLIT split an analysis object into the specified segments. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + DESCRIPTION: SPLIT split an analysis object into the specified segments. + + CALL: b = split(a, pl) + + INPUTS: a - input analysis object + pl - input parameter list (see below for parameters) + + OUTPUTS: b - array of analysis objects + + PARAMETERS: <key> <value> <description> + 'split_type' 'times' split the ao into time segments + 'frequencies' split the ao into frequencies segments + 'samples' split the ao into sample segments + 'chunks' split the ao into chunks + 'duration' select a duration of a tsdata + + Necessary for the individual split types: + <split type> <key> <description> + 'times' 'times' an array of start/stop times to + split by. A negative stop time is taken from the end + of the vector, e.g., [10 -10] removes 10 seconds from + the beginning and end of the + vector. An end time of 0 + indicates the end of the vector. + 'frequencies' 'frequencies' an array of start/stop frequencies to split by + 'samples' 'samples' an array of start/stop samples to split by + 'chunks' 'N' split into N contiguous pieces + 'interval' 'start_time', 'stop_time' + - start/stop time can be either a string or a time + object (if a string, 'format_str' must be + specified or specify the strings in UTC time format) + 'interval' 'start_time', 'duration' + - start time and the duration can be either a string + or a time object (if a string, 'format_str' must be + specified or specify the strings in UTC time format) + 'interval' 'timespan' + - the start/end time are specified in the time span + object. + + The UTC time format is: 'yyyy-mm-dd HH:MM:SS' + + If more than one splitting method is specified, the priority + goes like the list above. + + The time vector in the output AO retains the original + time values (i.e. it doesn't start from zero). + + The splitting is done as s<=t<e. + + Arrays of start/stop values should be like: [s1 e1 s2 e2 ....] + + EXAMPLES: 1.) Split method by frequency. Get the values from 10-100 Hz + pl = plist('split_type', 'frequencies', ... + 'frequencies', [10 100]); + ao_new = split(a1, pl); + + 2.) Split method by time. + Get the values from 0.0 to 1.0 Seconds AND from 1.0 to 2.5 seconds + pl = plist('split_type', 'times', ... + 'times', [0.0 1.0 1.0 2.5]); + ao_new = split(a1, pl); + + 3.) Split method by samples. + Get the samples from 0 to 50 AND from 150 to 200. + pl = plist('split_type', 'samples', ... + 'samples', [0 50 150 200]); + ao_new = split(a1, pl); + + 4.1) Select an interval with strings + pl = plist('split_type', 'interval', ... + 'start_time', '14:00:01', ... + 'end_time', '14:00:02'); + ao_new = split(a1, pl); + + pl = plist('split_type', 'interval', ... + 'start_time', '14:00:01', ... + 'duration', '00:00:02'); + ao_new = split(a1, pl); + + Select an interval with milliseconds + pl = plist('split_type', 'interval', ... + 'start_time', 5000, ... + 'end_time', 7000); + ao_new = split(a1, pl); + + 4.2) Select an interval with time objects + pl = plist('split_type', 'interval', ... + 'start_time', time('14:00:01'), ... + 'end_time', time('14:00:03')); + ao_new = split(a1, pl); + + pl = plist('split_type', 'interval', ... + 'start_time', time(5000), ... + 'duration', time(2000)); + ao_new = split(a1, pl); + + 4.3) Select an interval with a time span object + pl = plist('split_type', 'interval', ... + 'timespan', timespan('14:00:00', '14:00:05')); + ao_new = split(a1, pl); + + M-FILE INFO: Get information about this methods by calling + >> ao.getInfo('split') + + Get information about a specified set-plist by calling: + >> ao.getInfo('split', 'Default') + + VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ + + HISTORY: 02-03-07 M Hewitson + Creation. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +</HelpText> + <sets> + <set name="Default"/> + <set name="By times"/> + <set name="By frequencies"/> + <set name="By samples"/> + <set name="By chunks"/> + <set name="By interval start/end"/> + <set name="By interval start/duration"/> + <set name="By interval timespan"/> + </sets> + <plists> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>times</val> + <type>char</type> + </param> + <param> + <key>TIMES</key> + <val>[]</val> + <type>double</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>times</val> + <type>char</type> + </param> + <param> + <key>TIMES</key> + <val>[]</val> + <type>double</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>frequencies</val> + <type>char</type> + </param> + <param> + <key>FREQUENCIES</key> + <val>[]</val> + <type>double</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>samples</val> + <type>char</type> + </param> + <param> + <key>SAMPLES</key> + <val>[]</val> + <type>double</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>chunks</val> + <type>char</type> + </param> + <param> + <key>N</key> + <val>[]</val> + <type>double</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>interval</val> + <type>char</type> + </param> + <param> + <key>START_TIME</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + <param> + <key>END_TIME</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>interval</val> + <type>char</type> + </param> + <param> + <key>START_TIME</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + <param> + <key>DURATION</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>interval</val> + <type>char</type> + </param> + <param> + <key>TIMESPAN</key> + <val>(start: 1970-01-01 00:00:00.000 end: 1970-01-01 00:00:00.000)</val> + <type>timespan</type> + </param> + </plist> + </plists> + </LTPDAalgorithm> + <plist name="none"> + <param> + <key>TIMES</key> + <val>[200 -200]</val> + <type>double</type> + </param> + </plist> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="lpsd a1" dstport="0" srcblock="split a1" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="470 450 60 60" inputs="1" name="split a2" outputs="1"> + <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="split" mpackage="" mversion="" portdims="1 -1 1 -1"> + <HelpText> SPLIT split an analysis object into the specified segments. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + DESCRIPTION: SPLIT split an analysis object into the specified segments. + + CALL: b = split(a, pl) + + INPUTS: a - input analysis object + pl - input parameter list (see below for parameters) + + OUTPUTS: b - array of analysis objects + + PARAMETERS: <key> <value> <description> + 'split_type' 'times' split the ao into time segments + 'frequencies' split the ao into frequencies segments + 'samples' split the ao into sample segments + 'chunks' split the ao into chunks + 'duration' select a duration of a tsdata + + Necessary for the individual split types: + <split type> <key> <description> + 'times' 'times' an array of start/stop times to + split by. A negative stop time is taken from the end + of the vector, e.g., [10 -10] removes 10 seconds from + the beginning and end of the + vector. An end time of 0 + indicates the end of the vector. + 'frequencies' 'frequencies' an array of start/stop frequencies to split by + 'samples' 'samples' an array of start/stop samples to split by + 'chunks' 'N' split into N contiguous pieces + 'interval' 'start_time', 'stop_time' + - start/stop time can be either a string or a time + object (if a string, 'format_str' must be + specified or specify the strings in UTC time format) + 'interval' 'start_time', 'duration' + - start time and the duration can be either a string + or a time object (if a string, 'format_str' must be + specified or specify the strings in UTC time format) + 'interval' 'timespan' + - the start/end time are specified in the time span + object. + + The UTC time format is: 'yyyy-mm-dd HH:MM:SS' + + If more than one splitting method is specified, the priority + goes like the list above. + + The time vector in the output AO retains the original + time values (i.e. it doesn't start from zero). + + The splitting is done as s<=t<e. + + Arrays of start/stop values should be like: [s1 e1 s2 e2 ....] + + EXAMPLES: 1.) Split method by frequency. Get the values from 10-100 Hz + pl = plist('split_type', 'frequencies', ... + 'frequencies', [10 100]); + ao_new = split(a1, pl); + + 2.) Split method by time. + Get the values from 0.0 to 1.0 Seconds AND from 1.0 to 2.5 seconds + pl = plist('split_type', 'times', ... + 'times', [0.0 1.0 1.0 2.5]); + ao_new = split(a1, pl); + + 3.) Split method by samples. + Get the samples from 0 to 50 AND from 150 to 200. + pl = plist('split_type', 'samples', ... + 'samples', [0 50 150 200]); + ao_new = split(a1, pl); + + 4.1) Select an interval with strings + pl = plist('split_type', 'interval', ... + 'start_time', '14:00:01', ... + 'end_time', '14:00:02'); + ao_new = split(a1, pl); + + pl = plist('split_type', 'interval', ... + 'start_time', '14:00:01', ... + 'duration', '00:00:02'); + ao_new = split(a1, pl); + + Select an interval with milliseconds + pl = plist('split_type', 'interval', ... + 'start_time', 5000, ... + 'end_time', 7000); + ao_new = split(a1, pl); + + 4.2) Select an interval with time objects + pl = plist('split_type', 'interval', ... + 'start_time', time('14:00:01'), ... + 'end_time', time('14:00:03')); + ao_new = split(a1, pl); + + pl = plist('split_type', 'interval', ... + 'start_time', time(5000), ... + 'duration', time(2000)); + ao_new = split(a1, pl); + + 4.3) Select an interval with a time span object + pl = plist('split_type', 'interval', ... + 'timespan', timespan('14:00:00', '14:00:05')); + ao_new = split(a1, pl); + + M-FILE INFO: Get information about this methods by calling + >> ao.getInfo('split') + + Get information about a specified set-plist by calling: + >> ao.getInfo('split', 'Default') + + VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ + + HISTORY: 02-03-07 M Hewitson + Creation. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +</HelpText> + <sets> + <set name="Default"/> + <set name="By times"/> + <set name="By frequencies"/> + <set name="By samples"/> + <set name="By chunks"/> + <set name="By interval start/end"/> + <set name="By interval start/duration"/> + <set name="By interval timespan"/> + </sets> + <plists> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>times</val> + <type>char</type> + </param> + <param> + <key>TIMES</key> + <val>[]</val> + <type>double</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>times</val> + <type>char</type> + </param> + <param> + <key>TIMES</key> + <val>[]</val> + <type>double</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>frequencies</val> + <type>char</type> + </param> + <param> + <key>FREQUENCIES</key> + <val>[]</val> + <type>double</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>samples</val> + <type>char</type> + </param> + <param> + <key>SAMPLES</key> + <val>[]</val> + <type>double</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>chunks</val> + <type>char</type> + </param> + <param> + <key>N</key> + <val>[]</val> + <type>double</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>interval</val> + <type>char</type> + </param> + <param> + <key>START_TIME</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + <param> + <key>END_TIME</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>interval</val> + <type>char</type> + </param> + <param> + <key>START_TIME</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + <param> + <key>DURATION</key> + <val>time([plist('TIMEFORMAT', 'HH:MM:SS.FFF', 'TIMEZONE', 'SST', 'UTC_EPOCH_MILLI', 0)]) </val> + <type>time</type> + </param> + </plist> + <plist name="none"> + <param> + <key>SPLIT_TYPE</key> + <val>interval</val> + <type>char</type> + </param> + <param> + <key>TIMESPAN</key> + <val>(start: 1970-01-01 00:00:00.000 end: 1970-01-01 00:00:00.000)</val> + <type>timespan</type> + </param> + </plist> + </plists> + </LTPDAalgorithm> + <plist name="none"> + <param> + <key>TIMES</key> + <val>[200 -200]</val> + <type>double</type> + </param> + </plist> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="lpsd a2" dstport="0" srcblock="split a2" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="530 370 60 60" inputs="1" name="lpsd a1" outputs="1"> + <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="lpsd" mpackage="" mversion="" portdims="1 -1 1 -1"> + <HelpText> LPSD implement the LPSD algorithm for analysis objects. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + DESCRIPTION: LPSD implement the LPSD algorithm for analysis objects. + + CALL: bs = lpsd(as) + + INPUTS: as - array of analysis objects + pl - parameter list (see below) + + OUTPUTS: bs - array of analysis objects, one for each input + + PARAMETER LIST: + + Kdes - desired number of averages (default 100) + Lmin - minimum segment length (default 0) + Jdes - number of spectral frequencies to compute (default fs/2) + win - a specwin window object + Only the design parameters of the window object are used; the + window is recomputed for each DFT length inside the lpsd_core + algorithm. + Olap - desired overlap percentage (default: taken from window) + Order - order of detrending + -1 - no detrending + 0 - subtract mean + 1 - subtract linear fit + N - subtract fit of polynomial, order N + Scale - Scaling of output. Choose from: + AS - Amplitude (linear) Spectrum + ASD - Amplitude (linear) Spectral Density + PS - Power Spectrum + PSD - Power Spectral Density [default] + + M-FILE INFO: Get information about this methods by calling + >> ao.getInfo('lpsd') + + Get information about a specified set-plist by calling: + >> ao.getInfo('lpsd', 'None') + + VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ + + HISTORY: 02-02-07 M Hewitson + Created + + References: "Improved spectrum estimation from digitized time series + on a logarithmic frequency axis", Michael Troebs, Gerhard Heinzel, + Measurement 39 (2006) 120-129. + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +</HelpText> + <sets> + <set name="Default"/> + </sets> + <plists> + <plist name="none"> + <param> + <key>KDES</key> + <val>100</val> + <type>double</type> + </param> + <param> + <key>JDES</key> + <val>1000</val> + <type>double</type> + </param> + <param> + <key>LMIN</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>WIN</key> + <val> specwin('BH92', 0)</val> + <type>specwin</type> + </param> + <param> + <key>OLAP</key> + <val>-1</val> + <type>double</type> + </param> + <param> + <key>ORDER</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>SCALE</key> + <val>PSD</val> + <type>char</type> + </param> + </plist> + </plists> + </LTPDAalgorithm> + <plist name="none"> + <param> + <key>KDES</key> + <val>100</val> + <type>double</type> + </param> + <param> + <key>JDES</key> + <val>1000</val> + <type>double</type> + </param> + <param> + <key>LMIN</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>WIN</key> + <val> specwin('BH92', 0)</val> + <type>specwin</type> + </param> + <param> + <key>OLAP</key> + <val>-1</val> + <type>double</type> + </param> + <param> + <key>ORDER</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>SCALE</key> + <val>ASD</val> + <type>char</type> + </param> + </plist> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="plot" dstport="0" srcblock="lpsd a1" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="550 470 60 60" inputs="1" name="lpsd a2" outputs="1"> + <LTPDAalgorithm mcategory="Signal Processing" mclass="ao" mname="lpsd" mpackage="" mversion="" portdims="1 -1 1 -1"> + <HelpText> LPSD implement the LPSD algorithm for analysis objects. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + DESCRIPTION: LPSD implement the LPSD algorithm for analysis objects. + + CALL: bs = lpsd(as) + + INPUTS: as - array of analysis objects + pl - parameter list (see below) + + OUTPUTS: bs - array of analysis objects, one for each input + + PARAMETER LIST: + + Kdes - desired number of averages (default 100) + Lmin - minimum segment length (default 0) + Jdes - number of spectral frequencies to compute (default fs/2) + win - a specwin window object + Only the design parameters of the window object are used; the + window is recomputed for each DFT length inside the lpsd_core + algorithm. + Olap - desired overlap percentage (default: taken from window) + Order - order of detrending + -1 - no detrending + 0 - subtract mean + 1 - subtract linear fit + N - subtract fit of polynomial, order N + Scale - Scaling of output. Choose from: + AS - Amplitude (linear) Spectrum + ASD - Amplitude (linear) Spectral Density + PS - Power Spectrum + PSD - Power Spectral Density [default] + + M-FILE INFO: Get information about this methods by calling + >> ao.getInfo('lpsd') + + Get information about a specified set-plist by calling: + >> ao.getInfo('lpsd', 'None') + + VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ + + HISTORY: 02-02-07 M Hewitson + Created + + References: "Improved spectrum estimation from digitized time series + on a logarithmic frequency axis", Michael Troebs, Gerhard Heinzel, + Measurement 39 (2006) 120-129. + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +</HelpText> + <sets> + <set name="Default"/> + </sets> + <plists> + <plist name="none"> + <param> + <key>KDES</key> + <val>100</val> + <type>double</type> + </param> + <param> + <key>JDES</key> + <val>1000</val> + <type>double</type> + </param> + <param> + <key>LMIN</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>WIN</key> + <val> specwin('BH92', 0)</val> + <type>specwin</type> + </param> + <param> + <key>OLAP</key> + <val>-1</val> + <type>double</type> + </param> + <param> + <key>ORDER</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>SCALE</key> + <val>PSD</val> + <type>char</type> + </param> + </plist> + </plists> + </LTPDAalgorithm> + <plist name="none"> + <param> + <key>KDES</key> + <val>100</val> + <type>double</type> + </param> + <param> + <key>JDES</key> + <val>1000</val> + <type>double</type> + </param> + <param> + <key>LMIN</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>WIN</key> + <val> specwin('BH92', 0)</val> + <type>specwin</type> + </param> + <param> + <key>OLAP</key> + <val>-1</val> + <type>double</type> + </param> + <param> + <key>ORDER</key> + <val>0</val> + <type>double</type> + </param> + <param> + <key>SCALE</key> + <val>ASD</val> + <type>char</type> + </param> + </plist> + <port number="0" terminal="" type="output"> + <node> + <pipe color="-3657166" dstblock="plot" dstport="1" srcblock="lpsd a2" thickness="2.0"/> + </node> + </port> + </block> + <block bounds="670 400 60 60" inputs="4" name="plot" outputs="1"> + <LTPDAalgorithm mcategory="Output" mclass="ao" mname="iplot" mpackage="" mversion="" portdims="1 -1 1 -1"> + <HelpText> IPLOT provides an intelligent plotting tool for LTPDA. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + DESCRIPTION: IPLOT provides an intelligent plotting tool for LTPDA. + + CALL: hfig = iplot (a,pl) + [hfig, hax] = iplot (a,pl) + [hfig, hax, hli] = iplot (a,pl) + + INPUTS: pl - a parameter list + a - input analysis object + + OUTPUTS: hfig - handles to figures + hax - handles to axes + hli - handles to lines + + + Plot parameters: + + 'Arrangement' - select the plot layout: + 'single' - plots all AOs on individual figures + 'stacked' - plots all AOs on the same axes [default] + 'subplots' - plots all AOs on subplots + + 'Function' - specify the plot function: + 'plot', 'stairs', 'stem' + [default: 'plot'] + *** doesn't work for xyzdata AOs + + Line parameters: + + The following properties take cell array values. If the length of + the cell array is shorter than the number of lines to plot, the + remaining lines will be plotted with the default options. If the + cell array is of length 2 and the first cell contains the string + 'all', then the second cell is used to set the propery of all + lines. + + 'LineColors' - a cell array of color definitions for each line. + + 'LineStyles' - a cell array of line styles. + + 'Markers' - a cell array of markers. + + 'LineWidths' - a cell array of line widths. If the length of the + cell array is shorter than the number of lines to + plot, the remaining lines will be plotted with + the default line width. + + Axes parameters: + + 'Legends' - specify a cell array of strings to be used for + the plot legends. If a cell contains an empty + string, the default legend string is built. + If a single string 'off' is given instead of a + cell array, then the legends are all switched + off. + + 'XLabels' - Specify the labels to be used on the x-axes. The + units are added from the data object 'xunits' + property. + + 'YLabels' - Specify the labels to be used on the y-axes. The + units are added from the data object 'yunits' + property. If the object contains complex data, + you should specify two y-labels for that object. + + The following axis properties also work with the 'all' keyword as + described above in the line properties section. + + 'XScales' - Specify the scales to be used on the x-axes. + + 'YScales' - Specify the scales to the used on the y-axes. If + an object contains complex data, you should + specify two y-labels for that object. + + 'XRanges' - Specify the ranges to be displayed on the x-axes. + + 'YRanges' - Specify the ranges to the displayed on the + y-axes. + + Error parameters: If you give more than one input AO then you must + specify the following parameter values in a cell-array, + one cell for each input AO. Leave the cell empty to + plot no errors. Each error can be a value or a vector + the same length as the data vector. If you give and + upper limit but not lower limit, then the errors are + assumed to be symmetric (and vice versa) + + 'XerrL' - lower bound error values for the X data points. + 'XerrU' - upper bound error values for the X data points. + 'YerrL' - lower bound error values for the Y data points. + 'YerrU' - upper bound error values for the Y data points. + + Math operations: You can specify rudimentary math operations to be + performed on the X and Y data prior to plotting. The + 'all' keyword is also supported by these parameters. + + 'Xmaths' - specify math operations to perform on the + data vector 'x'. For example, + plist('Xmaths', 'abs(x)'). + + 'Ymaths' - specify math operations to perform on the + data vector 'y'. For example, + plist('Ymaths', 'sqrt(y)'). + + Time-series parameters: in addition to the general options, time-series + objects have the following additional parameters. + + 'Xunits' - specify the units on the x-axis as + 'us' - microseconds + 'ms' - milliseconds + 's' - seconds [default] + 'm' - minutes + 'h' - hours + 'D' - days + 'M' - months + 'HH:MM:SS' - using a date/time format + recognized by datetic (help datetic) + + + Frequency-series parameters: + + 'complexPlotType' - specify how to plot complex data. + Choose from: + - 'realimag' + - 'absdeg' + - 'absrad' + + EXAMPLES: + + 1) Plot two time-series AOs with different colors, line styles, and widths + + pl = plist('Linecolors', {'g', 'k'}, 'LineStyles', {'', '--'}, 'LineWidths', {1, 4}); + iplot(tsao1, tsao2, pl); + + 2) Plot two time-series AOs in subplots. Also override the second legend + text and the first line style. + + pl = plist('Arrangement', 'subplots', 'LineStyles', {'--'}, 'Legends', {'', 'My Sine Wave'}); + iplot(tsao1, tsao2, pl); + + 3) Plot two time-series AOs taking the square of the y-values of the + first AO and the log of the x-values of the second AO. + + pl = plist('Arrangement', 'subplots', 'YMaths', 'y.^2', 'XMaths', {'', 'log(x)'}); + iplot(tsao1, tsao2, pl); + + 4) Plot two frequency-series AOs on subplots with the same Y-scales and + Y-ranges + + pl1 = plist('Yscales', {'All', 'lin'}); + pl2 = plist('arrangement', 'subplots', 'YRanges', {'All', [1e-6 100]}); + iplot(fsd1, fsd2, pl1, pl2) + + + M-FILE INFO: Get information about this methods by calling + >> ao.getInfo('iplot') + + Get information about a specified set-plist by calling: + >> ao.getInfo('iplot', 'None') + + VERSION: $Id: mdc1_tdcal.lwb,v 1.1 2009/01/13 12:39:16 hewitson Exp $ + + HISTORY: 22-12-07 M Hewitson + Creation + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +</HelpText> + <sets> + <set name="Time-series plot"/> + <set name="Frequency-series plot"/> + <set name="Y data plot"/> + <set name="X-Y data plot"/> + <set name="3D plot"/> + </sets> + <plists> + <plist name="none"> + <param> + <key>COLORS</key> + <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> + <type>cell</type> + </param> + <param> + <key>ARRANGEMENT</key> + <val>stacked</val> + <type>char</type> + </param> + <param> + <key>FUNCTION</key> + <val>plot</val> + <type>char</type> + </param> + <param> + <key>LEGENDLOCATION</key> + <val>NorthEast</val> + <type>char</type> + </param> + <param> + <key>XERRL</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XERRU</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YERRU</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YERRL</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XLABEL</key> + <val>Time</val> + <type>char</type> + </param> + <param> + <key>YLABEL</key> + <val>Amplitude</val> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>COLORS</key> + <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> + <type>cell</type> + </param> + <param> + <key>ARRANGEMENT</key> + <val>stacked</val> + <type>char</type> + </param> + <param> + <key>FUNCTION</key> + <val>plot</val> + <type>char</type> + </param> + <param> + <key>LEGENDLOCATION</key> + <val>NorthEast</val> + <type>char</type> + </param> + <param> + <key>XERRL</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XERRU</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YERRU</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YERRL</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>COMPLEXPLOTTYPE</key> + <val>absdeg</val> + <type>char</type> + </param> + <param> + <key>XLABEL</key> + <val>Frequency</val> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>COLORS</key> + <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> + <type>cell</type> + </param> + <param> + <key>ARRANGEMENT</key> + <val>stacked</val> + <type>char</type> + </param> + <param> + <key>FUNCTION</key> + <val>plot</val> + <type>char</type> + </param> + <param> + <key>LEGENDLOCATION</key> + <val>NorthEast</val> + <type>char</type> + </param> + <param> + <key>XERRL</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XERRU</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YERRU</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YERRL</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XLABEL</key> + <val>Sample</val> + <type>char</type> + </param> + <param> + <key>YLABEL</key> + <val>Value</val> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>COLORS</key> + <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> + <type>cell</type> + </param> + <param> + <key>ARRANGEMENT</key> + <val>stacked</val> + <type>char</type> + </param> + <param> + <key>FUNCTION</key> + <val>plot</val> + <type>char</type> + </param> + <param> + <key>LEGENDLOCATION</key> + <val>NorthEast</val> + <type>char</type> + </param> + <param> + <key>XERRL</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XERRU</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YERRU</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>YERRL</key> + <val>[]</val> + <type>double</type> + </param> + <param> + <key>XLABEL</key> + <val>X-data</val> + <type>char</type> + </param> + <param> + <key>YLABEL</key> + <val>Y-data</val> + <type>char</type> + </param> + <param> + <key>YMATHS</key> + <val/> + <type>char</type> + </param> + <param> + <key>XMATHS</key> + <val/> + <type>char</type> + </param> + </plist> + <plist name="none"> + <param> + <key>COLORS</key> + <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> + <type>cell</type> + </param> + <param> + <key>ARRANGEMENT</key> + <val>single</val> + <type>char</type> + </param> + <param> + <key>XLABEL</key> + <val>Time</val> + <type>char</type> + </param> + <param> + <key>YLABEL</key> + <val>Frequency</val> + <type>char</type> + </param> + <param> + <key>ZLABEL</key> + <val>Amplitude</val> + <type>char</type> + </param> + <param> + <key>YMATHS</key> + <val/> + <type>char</type> + </param> + <param> + <key>ZMATHS</key> + <val/> + <type>char</type> + </param> + <param> + <key>XMATHS</key> + <val/> + <type>char</type> + </param> + </plist> + </plists> + </LTPDAalgorithm> + <plist name="none"> + <param> + <key>YLABELS</key> + <val>{'All', 'Spectral Density'}</val> + <type>cell</type> + </param> + <param> + <key>XLABELS</key> + <val>Frequency</val> + <type>char</type> + </param> + <param> + <key>LINESTYLES</key> + <val>{'', '--', ''}</val> + <type>cell</type> + </param> + <param> + <key>XRANGES</key> + <val>[0.0001 5]</val> + <type>double</type> + </param> + <param> + <key>LEGENDS</key> + <val>{'a11', 'a11r', 'a22', 'a22r'}</val> + <type>cell</type> + </param> + </plist> + <port number="0" terminal="" type="output"/> + </block> + </document> +</LTPDAworkbench> \ No newline at end of file