1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <html lang="en">
- <head>
- <title>harminv output - avram - a virtual machine code interpreter</title>
- <meta http-equiv="Content-Type" content="text/html">
- <meta name="description" content="avram - a virtual machine code interpreter">
- <meta name="generator" content="makeinfo 4.13">
- <link title="Top" rel="start" href="index.html#Top">
- <link rel="up" href="harminv.html#harminv" title="harminv">
- <link rel="prev" href="harminv-input-parameters.html#harminv-input-parameters" title="harminv input parameters">
- <link rel="next" href="harminv-exceptions.html#harminv-exceptions" title="harminv exceptions">
- <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
- <meta http-equiv="Content-Style-Type" content="text/css">
- <style type="text/css"><!--
- pre.display { font-family:inherit }
- pre.format { font-family:inherit }
- pre.smalldisplay { font-family:inherit; font-size:smaller }
- pre.smallformat { font-family:inherit; font-size:smaller }
- pre.smallexample { font-size:smaller }
- pre.smalllisp { font-size:smaller }
- span.sc { font-variant:small-caps }
- span.roman { font-family:serif; font-weight:normal; }
- span.sansserif { font-family:sans-serif; font-weight:normal; }
- --></style>
- </head>
- <body>
- <div class="node">
- <a name="harminv-output"></a>
- <p>
- Next: <a rel="next" accesskey="n" href="harminv-exceptions.html#harminv-exceptions">harminv exceptions</a>,
- Previous: <a rel="previous" accesskey="p" href="harminv-input-parameters.html#harminv-input-parameters">harminv input parameters</a>,
- Up: <a rel="up" accesskey="u" href="harminv.html#harminv">harminv</a>
- <hr>
- </div>
- <h4 class="subsection">D.8.2 <code>harminv</code> output</h4>
- <p>The result returned by a call to
- <pre class="example"> library('harminv','hsolve')
- </pre>
- <p class="noindent">with valid input (<a href="harminv-input-parameters.html#harminv-input-parameters">harminv input parameters</a>) is a list of similar tuples of the form
- <pre class="example"> <(amplitude,frequency,decay,quality,error)...>
- </pre>
- <p class="noindent">with all members being real valued except for the amplitudes, which are
- complex. Each tuple describes a function of the form
- <pre class="example"> f(t) = A * sin (frequency * t + P) * exp (-decay * t)
- </pre>
- <p class="noindent">such that the summation of these functions approximates the original
- given signal (<a href="harminv-input-parameters.html#harminv-input-parameters">harminv input parameters</a>). The real amplitude
- <code>A</code> and phase <code>P</code> are given by the modulus and argument of
- the complex amplitude returned in the result,
- <pre class="example"> A = library('complex','cabs') amplitude
- P = library('complex','carg') amplitude
- </pre>
- <p class="noindent">in terms of the complex library functions (<a href="complex.html#complex">complex</a>).
- The error values are measures of the goodness of fit, and the quality
- factors are defined as
- <pre class="example"> quality = (pi * |frequency| / decay)
- </pre>
- <p class="noindent">It may be useful in some applications to ignore components with
- quality factors outside of a certain range.
- </body></html>
|