source: trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/STATISTICS/c_timecorrelate.html @ 191

Last change on this file since 191 was 191, checked in by pinsard, 18 years ago

remove format=raw in all html files 2+ : correction for all_plots; suppression of css and correction of Source links in idldoc html output

File size: 10.0 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>c_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="c_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//c_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_timecorrelate.html">&lt;&lt;prev file</a> | next file &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;<a href="c_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">c_timecorrelate.pro</h2>
83
84      <div id="file_attr">
85        <dl>
86        </dl>
87      </div>
88
89      <div id="file_comments">
90 
91
92
93 This function computes the "time cross correlation" Pxy(L) or
94 the "time cross covariance" between 2 arrays (this is some
95 kind of c_correlate but for multidimenstionals arrays) as a
96 function of the lag (L).
97</div>
98
99     
100
101     
102
103     
104
105     
106      <div id="routine_summary">               
107        <h2>Routine summary</h2>
108       
109        <dl>
110         
111          <dt><p><a href="#_timecross_cov"><span class="result">result = </span>timecross_cov(<span class="result">Xd, Yd, M, nT, Ndim</span>, Double=<span class="result">Double</span>, ZERO2NAN=<span class="result">ZERO2NAN</span>)</a></p><dt>
112          <dd></dd>     
113         
114          <dt><p><a href="#_c_timecorrelate"><span class="result">result = </span>c_timecorrelate(<span class="result">X, Y, Lag</span>, Covariance=<span class="result">Covariance</span>, Double=<span class="result">Double</span>)</a></p><dt>
115          <dd></dd>     
116               
117        </dl>
118      </div>
119     
120
121      <div id="routine_details">
122       
123
124        <div class="routine_details" id="_timecross_cov">
125
126          <h2><a class="top" href="#container">top</a>timecross_cov <span class="categories">
127 Statistics
128</span></h2>
129       
130          <p class="header">
131            <span class="result">result = </span>timecross_cov(<span class="result"><a href="#_timecross_cov_param_Xd">Xd</a>, <a href="#_timecross_cov_param_Yd">Yd</a>, <a href="#_timecross_cov_param_M">M</a>, <a href="#_timecross_cov_param_nT">nT</a>, <a href="#_timecross_cov_param_Ndim">Ndim</a></span>, <a href="#_timecross_cov_keyword_Double">Double</a>=<span class="result">Double</span>, <a href="#_timecross_cov_keyword_ZERO2NAN">ZERO2NAN</a>=<span class="result">ZERO2NAN</span>)</p>
132       
133          <div class="comments"></div>
134
135         
136
137         
138            <h3>Parameters</h3>
139       
140           
141            <h4 id="_timecross_cov_param_Xd">Xd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
142             
143             
144             
145             
146             
147             
148             
149             
150            </h4>
151       
152          <div class="comments">
153
154</div>
155           
156            <h4 id="_timecross_cov_param_Yd">Yd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
157             
158             
159             
160             
161             
162             
163             
164             
165            </h4>
166       
167          <div class="comments">
168
169</div>
170           
171            <h4 id="_timecross_cov_param_M">M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
172             
173             
174             
175             
176             
177             
178             
179             
180            </h4>
181       
182          <div class="comments">
183
184</div>
185           
186            <h4 id="_timecross_cov_param_nT">nT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
187             
188             
189             
190             
191             
192             
193             
194             
195            </h4>
196       
197          <div class="comments">
198
199</div>
200           
201            <h4 id="_timecross_cov_param_Ndim">Ndim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
202             
203             
204             
205             
206             
207             
208             
209             
210            </h4>
211       
212          <div class="comments">
213
214</div>
215           
216
217         
218
219         
220
221            <h3>Keywords</h3>
222           
223            <h4 id="_timecross_cov_keyword_Double">Double&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
224             
225             
226             
227             
228             
229             
230             
231             
232            </h4>
233       
234            <div class="comments">
235 If set to a non-zero value, computations are done in
236 double precision arithmetic.
237</div>
238           
239            <h4 id="_timecross_cov_keyword_ZERO2NAN">ZERO2NAN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
240             
241             
242             
243             
244             
245             
246             
247             
248            </h4>
249       
250            <div class="comments">
251
252</div>
253           
254         
255
256          <h3>Examples</h3><div class="preformat">
257
258</div>
259          <h3>Version history</h3>
260         
261          <h4>Version</h4><div class="preformat">
262 $Id: c_timecorrelate.pro 163 2006-08-29 12:59:46Z navarro $
263</div>
264          <h4>History</h4><div class="preformat">
265
266</div>
267         
268         
269         
270         
271         
272         
273         
274       
275         
276         
277         
278         
279         
280         
281         
282       
283          <h3>Statistics</h3>
284          <table class="statistics">
285            <tr><td>McCabe cyclic</td><td>           7</td></tr>
286            <tr><td>McCabe essential</td><td>           1</td></tr>
287            <tr><td>McCabe modular design</td><td>           1</td></tr>
288          </table>
289         
290       
291        </div>
292       
293
294        <div class="routine_details" id="_c_timecorrelate">
295
296          <h2><a class="top" href="#container">top</a>c_timecorrelate <span class="categories">
297 Statistics
298</span></h2>
299       
300          <p class="header">
301            <span class="result">result = </span>c_timecorrelate(<span class="result"><a href="#_c_timecorrelate_param_X">X</a>, <a href="#_c_timecorrelate_param_Y">Y</a>, <a href="#_c_timecorrelate_param_Lag">Lag</a></span>, <a href="#_c_timecorrelate_keyword_Covariance">Covariance</a>=<span class="result">Covariance</span>, <a href="#_c_timecorrelate_keyword_Double">Double</a>=<span class="result">Double</span>)</p>
302       
303          <div class="comments"></div>
304
305         
306
307         
308            <h3>Parameters</h3>
309       
310           
311            <h4 id="_c_timecorrelate_param_X">X&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
312              <span class="attr">in</span>
313             
314             
315              <span class="attr">required</span>
316             
317              <span class="attr">type:</span> <span class="value">array</span>
318             
319             
320            </h4>
321       
322          <div class="comments">
323 An Array which last dimension is the time dimension of
324 size n, float or double.
325</div>
326           
327            <h4 id="_c_timecorrelate_param_Y">Y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
328              <span class="attr">in</span>
329             
330             
331              <span class="attr">required</span>
332             
333              <span class="attr">type:</span> <span class="value">array</span>
334             
335             
336            </h4>
337       
338          <div class="comments">
339 An Array which last dimension is the time dimension of
340 size n, float or double.
341</div>
342           
343            <h4 id="_c_timecorrelate_param_Lag">Lag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
344              <span class="attr">in</span>
345             
346             
347              <span class="attr">required</span>
348             
349              <span class="attr">type:</span> <span class="value">scalar or vector</span>
350             
351             
352            </h4>
353       
354          <div class="comments">
355 A scalar or n-element vector, in the interval [-(n-2), (n-2)],
356 of type integer that specifies the absolute distance(s) between
357 indexed elements of X.
358</div>
359           
360
361         
362
363         
364
365            <h3>Keywords</h3>
366           
367            <h4 id="_c_timecorrelate_keyword_Covariance">Covariance&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
368             
369             
370             
371             
372             
373             
374             
375             
376            </h4>
377       
378            <div class="comments">
379 If set to a non-zero value, the sample cross
380 covariance is computed.
381</div>
382           
383            <h4 id="_c_timecorrelate_keyword_Double">Double&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
384             
385             
386             
387             
388             
389             
390             
391             
392            </h4>
393       
394            <div class="comments">
395 If set to a non-zero value, computations are done in
396 double precision arithmetic.
397</div>
398           
399         
400
401          <h3>Examples</h3><div class="preformat">
402 
403       Define two n-element sample populations.
404         x = [3.73, 3.67, 3.77, 3.83, 4.67, 5.87, 6.70, 6.97, 6.40, 5.57]
405         y = [2.31, 2.76, 3.02, 3.13, 3.72, 3.88, 3.97, 4.39, 4.34, 3.95]
406
407       Compute the cross correlation of X and Y for LAG = -5, 0, 1, 5, 6, 7
408         lag = [-5, 0, 1, 5, 6, 7]
409         result = c_timecorrelate(x, y, lag)
410
411       The result should be:
412         [-0.428246, 0.914755, 0.674547, -0.405140, -0.403100, -0.339685]
413</div>
414          <h3>Version history</h3>
415         
416          <h4>Version</h4><div class="preformat">
417 $Id: c_timecorrelate.pro 163 2006-08-29 12:59:46Z navarro $
418</div>
419          <h4>History</h4><div class="preformat">
420       - 01/03/2000 Sebastien Masson (smasson@lodyc.jussieu.fr)
421       Based on the C_CORRELATE procedure of IDL
422       - August 2003 Sebastien Masson
423       update according to the update made in C_CORRELATE by
424       W. Biagiotti and available in IDL 5.5
425
426       INTRODUCTION TO STATISTICAL TIME SERIES
427       Wayne A. Fuller
428       ISBN 0-471-28715-6
429</div>
430         
431         
432         
433         
434         
435         
436         
437       
438         
439         
440         
441         
442         
443         
444         
445       
446          <h3>Statistics</h3>
447          <table class="statistics">
448            <tr><td>McCabe cyclic</td><td>          33</td></tr>
449            <tr><td>McCabe essential</td><td>           1</td></tr>
450            <tr><td>McCabe modular design</td><td>           1</td></tr>
451          </table>
452         
453       
454        </div>
455       
456      </div>
457
458     
459
460      <div id="tagline">Produced by IDLdoc 2.0.</div>
461
462    </div>
463
464  </body>
465</html>
Note: See TracBrowser for help on using the repository browser.