source: trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/STATISTICS/a_timecorrelate.html @ 290

Last change on this file since 290 was 290, checked in by smasson, 17 years ago

update documentation

File size: 9.1 KB
Line 
1
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
5<!-- Generated by IDLdoc 2.0 -->
6
7<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
8  <head>
9    <title>a_timecorrelate.pro (SAXO Documentation)</title>
10
11   
12    <link rel="stylesheet" type="text/css" media="all" href="./../../main_files.css" />
13    <link rel="stylesheet" type="text/css" media="print" href="./../../main_files_print.css" />
14   
15
16    <script type="text/javascript">
17      function setTitle() {
18        parent.document.title="a_timecorrelate.pro (SAXO Documentation)";
19      }
20    </script>
21  </head>
22
23  <body onload="setTitle();">
24
25    <div id="navbar_title">
26  <h1>SAXO Documentation</h1>
27</div>
28
29
30<div id="main_navbar">
31
32  <table cellspacing="0">
33    <tr>
34     
35      <td><a href="./../../overview.html" title="Overview of library">Overview</a></td>
36     
37
38     
39      <td >Directory</td>
40     
41
42     
43      <td><a href="./../../idldoc-categories.html" title="Browse library by category">Categories</a></td>
44     
45
46     
47      <td><a href="./../../idldoc-index.html" title="Index of files, routines, and parameters">Index</a></td>
48     
49
50     
51      <td><a href="./../../search-page.html" title="Search library">Search</a></td>
52     
53
54      <td id="selected">File</td>
55
56     
57      <td><a href="../../../../ToBeReviewed/STATISTICS//a_timecorrelate.pro" title="Source code of a file">Source</a></td>
58     
59
60     
61      <td><a href="./../../idldoc-help.html" title="Help on IDLdoc">Help</a></td>
62     
63
64      <td >Etc</td>
65
66      <td id="flexible">Developer&nbsp;documentation</td>
67    </tr>
68  </table>
69
70</div>
71
72<div id="secondary_navbar">
73
74<a href="a_correlate2d.html">&lt;&lt;prev file</a> | <a href="c_timecorrelate.html">next file &gt;&gt;</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="a_timecorrelate.html" target="_TOP">view single page</a> | <a href="./../../index.html" target="_TOP">view frames</a>&nbsp;&nbsp;&nbsp;&nbsp;summary: fields | <a href="#routine_summary">routine</a>&nbsp;&nbsp;&nbsp;&nbsp;details: <a href="#routine_details">routine</a>
75
76</div>
77
78
79    <div id="container">
80
81      <h1 class="directory"><a href="directory-overview.html">ToBeReviewed/STATISTICS/</a></h1>
82      <h2 class="pro_file">a_timecorrelate.pro</h2>
83
84      <div id="file_attr">
85        <dl>
86        </dl>
87      </div>
88
89      <div id="file_comments">
90
91
92 Same function as A_CORRELATE but accept array (until 4
93 dimension) for input and do the autocorrelation or the
94 autocovariance along the time dimension which must be the last
95 one of the input array.
96
97 This function computes the autocorrelation Px(L) or autocovariance
98 Rx(L) of a sample population X as a function of the lag (L).
99</div>
100
101     
102
103     
104
105     
106
107     
108      <div id="routine_summary">               
109        <h2>Routine summary</h2>
110       
111        <dl>
112         
113          <dt><p><a href="#_timeauto_cov"><span class="result">result = </span>timeauto_cov(<span class="result">x, m, nt</span>, DOUBLE=<span class="result">DOUBLE</span>, ZERO2NAN=<span class="result">ZERO2NAN</span>)</a></p><dt>
114          <dd> </dd>   
115         
116          <dt><p><a href="#_a_timecorrelate"><span class="result">result = </span>a_timecorrelate(<span class="result">x, lag</span>, COVARIANCE=<span class="result">COVARIANCE</span>, DOUBLE=<span class="result">DOUBLE</span>)</a></p><dt>
117          <dd> </dd>   
118               
119        </dl>
120      </div>
121     
122
123      <div id="routine_details">
124       
125
126        <div class="routine_details" id="_timeauto_cov">
127
128          <h2><a class="top" href="#container">top</a>timeauto_cov <span class="categories">
129 Statistics
130</span></h2>
131       
132          <p class="header">
133            <span class="result">result = </span>timeauto_cov(<span class="result"><a href="#_timeauto_cov_param_x">x</a>, <a href="#_timeauto_cov_param_m">m</a>, <a href="#_timeauto_cov_param_nt">nt</a></span>, <a href="#_timeauto_cov_keyword_DOUBLE">DOUBLE</a>=<span class="result">DOUBLE</span>, <a href="#_timeauto_cov_keyword_ZERO2NAN">ZERO2NAN</a>=<span class="result">ZERO2NAN</span>)</p>
134       
135          <div class="comments">
136</div>
137
138         
139
140         
141            <h3>Parameters</h3>
142       
143           
144            <h4 id="_timeauto_cov_param_x">x&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
145              <span class="attr">in</span>
146             
147             
148              <span class="attr">required</span>
149             
150              <span class="attr">type:</span> <span class="value">array</span>
151             
152             
153            </h4>
154       
155          <div class="comments">
156 An array which last dimension is the time dimension so
157 size n.
158</div>
159           
160            <h4 id="_timeauto_cov_param_m">m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
161             
162             
163             
164             
165             
166             
167             
168             
169            </h4>
170       
171          <div class="comments">
172</div>
173           
174            <h4 id="_timeauto_cov_param_nt">nt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
175             
176             
177             
178             
179             
180             
181             
182             
183            </h4>
184       
185          <div class="comments">
186</div>
187           
188
189         
190
191         
192
193            <h3>Keywords</h3>
194           
195            <h4 id="_timeauto_cov_keyword_DOUBLE">DOUBLE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
196             
197             
198             
199             
200             
201             
202             
203             
204            </h4>
205       
206            <div class="comments">
207 If set to a non-zero value, computations are done in
208 double precision arithmetic.
209</div>
210           
211            <h4 id="_timeauto_cov_keyword_ZERO2NAN">ZERO2NAN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
212             
213             
214             
215             
216             
217             
218             
219             
220            </h4>
221       
222            <div class="comments">
223</div>
224           
225         
226
227          <h3>Examples</h3><div class="preformat">
228</div>
229          <h3>Version history</h3>
230         
231          <h4>Version</h4><div class="preformat">
232 $Id: a_timecorrelate.pro 262 2007-08-21 14:19:32Z pinsard $
233</div>
234          <h4>History</h4><div class="preformat">
235</div>
236         
237         
238         
239         
240         
241         
242         
243       
244         
245         
246         
247         
248         
249         
250         
251       
252          <h3>Statistics</h3>
253          <table class="statistics">
254            <tr><td>McCabe cyclic</td><td>           8</td></tr>
255            <tr><td>McCabe essential</td><td>           1</td></tr>
256            <tr><td>McCabe modular design</td><td>           1</td></tr>
257          </table>
258         
259       
260        </div>
261       
262
263        <div class="routine_details" id="_a_timecorrelate">
264
265          <h2><a class="top" href="#container">top</a>a_timecorrelate <span class="categories">
266 Statistics
267</span></h2>
268       
269          <p class="header">
270            <span class="result">result = </span>a_timecorrelate(<span class="result"><a href="#_a_timecorrelate_param_x">x</a>, <a href="#_a_timecorrelate_param_lag">lag</a></span>, <a href="#_a_timecorrelate_keyword_COVARIANCE">COVARIANCE</a>=<span class="result">COVARIANCE</span>, <a href="#_a_timecorrelate_keyword_DOUBLE">DOUBLE</a>=<span class="result">DOUBLE</span>)</p>
271       
272          <div class="comments">
273</div>
274
275         
276
277         
278            <h3>Parameters</h3>
279       
280           
281            <h4 id="_a_timecorrelate_param_x">x&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
282              <span class="attr">in</span>
283             
284             
285              <span class="attr">required</span>
286             
287              <span class="attr">type:</span> <span class="value">array</span>
288             
289             
290            </h4>
291       
292          <div class="comments">
293 An array which last dimension is the time dimension so
294 size n.
295</div>
296           
297            <h4 id="_a_timecorrelate_param_lag">lag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
298              <span class="attr">in</span>
299             
300             
301              <span class="attr">required</span>
302             
303              <span class="attr">type:</span> <span class="value">scalar or vector</span>
304             
305             
306            </h4>
307       
308          <div class="comments">
309 A scalar or n-elements vector, in the interval [-(n-2),(n-2)],
310 of type integer that specifies the absolute distance(s) between
311 indexed elements of X.
312</div>
313           
314
315         
316
317         
318
319            <h3>Keywords</h3>
320           
321            <h4 id="_a_timecorrelate_keyword_COVARIANCE">COVARIANCE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
322             
323             
324             
325             
326             
327             
328             
329             
330            </h4>
331       
332            <div class="comments">
333 If set to a non-zero value, the sample autocovariance
334 is computed.
335</div>
336           
337            <h4 id="_a_timecorrelate_keyword_DOUBLE">DOUBLE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
338             
339             
340             
341             
342             
343             
344             
345             
346            </h4>
347       
348            <div class="comments">
349 If set to a non-zero value, computations are done in
350 double precision arithmetic.
351</div>
352           
353         
354
355          <h3>Examples</h3><div class="preformat">
356 Define an n-elements sample population.
357 IDL> x = [3.73, 3.67, 3.77, 3.83, 4.67, 5.87, 6.70, 6.97, 6.40, 5.57]
358
359 Compute the autocorrelation of X for LAG = -3, 0, 1, 3, 4, 8
360 IDL> lag = [-3, 0, 1, 3, 4, 8]
361 IDL> result = a_correlate(x, lag)
362
363 The result should be:
364 [0.0146185, 1.00000, 0.810879, 0.0146185, -0.325279, -0.151684]
365</div>
366          <h3>Version history</h3>
367         
368          <h4>Version</h4><div class="preformat">
369 $Id: a_timecorrelate.pro 262 2007-08-21 14:19:32Z pinsard $
370</div>
371          <h4>History</h4><div class="preformat">
372 24/2/2000 Sebastien Masson (smasson@lodyc.jussieu.fr)
373
374 Based on the A_CORRELATE procedure of IDL
375 INTRODUCTION TO STATISTICAL TIME SERIES
376 Wayne A. Fuller
377 ISBN 0-471-28715-6
378</div>
379         
380         
381         
382         
383         
384         
385         
386       
387         
388         
389         
390         
391         
392         
393         
394       
395          <h3>Statistics</h3>
396          <table class="statistics">
397            <tr><td>McCabe cyclic</td><td>          13</td></tr>
398            <tr><td>McCabe essential</td><td>           1</td></tr>
399            <tr><td>McCabe modular design</td><td>           1</td></tr>
400          </table>
401         
402       
403        </div>
404       
405      </div>
406
407     
408
409      <div id="tagline">Produced by IDLdoc 2.0.</div>
410
411    </div>
412
413  </body>
414</html>
Note: See TracBrowser for help on using the repository browser.