source: trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/STATISTICS/a_correlate2d.html @ 89

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

add idldoc html output. see Documentation/idldoc_html_output/index.html

File size: 7.9 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_correlate2d.pro (IDLdoc API 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_correlate2d.pro (IDLdoc API documentation)";
19      }
20    </script>
21  </head>
22
23  <body onload="setTitle();">
24
25    <div id="navbar_title">
26  <h1>IDLdoc API 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?format=raw" title="Overview of library">Overview</a></td>
36     
37
38     
39      <td >Directory</td>
40     
41
42     
43      <td><a href="./../../idldoc-categories.html?format=raw" title="Browse library by category">Categories</a></td>
44     
45
46     
47      <td><a href="./../../idldoc-index.html?format=raw" title="Index of files, routines, and parameters">Index</a></td>
48     
49
50     
51      <td><a href="./../../search-page.html?format=raw" title="Search library">Search</a></td>
52     
53
54      <td id="selected">File</td>
55
56     
57      <td >Source</td>
58     
59
60     
61      <td><a href="./../../idldoc-help.html?format=raw" 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&lt;&lt; prev file | <a href="a_timecorrelate.html">next file &gt;&gt;</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="a_correlate2d.html" target="_TOP">view single page</a> | <a href="./../../index.html?format=raw" 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?format=raw">ToBeReviewed/STATISTICS/</a></h1>
82      <h2 class="pro_file">a_correlate2d.pro</h2>
83
84      <div id="file_attr">
85        <dl>
86        </dl>
87      </div>
88
89      <div id="file_comments"></div>
90
91     
92
93     
94
95     
96
97     
98      <div id="routine_summary">               
99        <h2>Routine summary</h2>
100       
101        <dl>
102         
103          <dt><p><a href="#_Auto_Cov2d"><span class="result">result = </span>Auto_Cov2d(<span class="result">X, Lag</span>, Double=<span class="result">Double</span>, zero2nan=<span class="result">zero2nan</span>)</a></p><dt>
104          <dd>  NAME:        A_CORRELATE2d   PURPOSE:         This function computes the autocorrelation Px(K,L) or        autocovariance Rx(K,L) of a sample population X[nx,ny] as a        function of the lag (K,L).</dd>   
105         
106          <dt><p><a href="#_A_Correlate2d"><span class="result">result = </span>A_Correlate2d(<span class="result">X, Lag</span>, Covariance=<span class="result">Covariance</span>, Double=<span class="result">Double</span>)</a></p><dt>
107          <dd></dd>     
108               
109        </dl>
110      </div>
111     
112
113      <div id="routine_details">
114       
115
116        <div class="routine_details" id="_Auto_Cov2d">
117
118          <h2><a class="top" href="#container">top</a>Auto_Cov2d </h2>
119       
120          <p class="header">
121            <span class="result">result = </span>Auto_Cov2d(<span class="result"><a href="#_Auto_Cov2d_param_X">X</a>, <a href="#_Auto_Cov2d_param_Lag">Lag</a></span>, <a href="#_Auto_Cov2d_keyword_Double">Double</a>=<span class="result">Double</span>, <a href="#_Auto_Cov2d_keyword_zero2nan">zero2nan</a>=<span class="result">zero2nan</span>)</p>
122       
123          <div class="comments">
124 NAME:
125       A_CORRELATE2d
126
127 PURPOSE:
128
129       This function computes the autocorrelation Px(K,L) or
130       autocovariance Rx(K,L) of a sample population X[nx,ny] as a
131       function of the lag (K,L).
132
133 CATEGORY:
134       Statistics.
135
136 CALLING SEQUENCE:
137       Result = a_correlate2d(X, Lag)
138
139 INPUTS:
140       X:    an 2 dimension Array [nx,ny]
141
142     LAG:    2-element vector, in the intervals [-(nx-2), (nx-2)],[-(ny-2), (ny-2)],
143             of type integer that specifies the absolute distance(s) between
144             indexed elements of X.
145
146 KEYWORD PARAMETERS:
147       COVARIANCE:    If set to a non-zero value, the sample autocovariance
148                      is computed.
149
150       DOUBLE:        If set to a non-zero value, computations are done in
151                      double precision arithmetic.
152
153 EXAMPLE:
154
155 PROCEDURE:
156
157
158                          nx-k-1  ny-l-1
159                          sigma   sigma  (X[i,j]-Xmean)(X[i+k,j+l]-Ymean)
160                           i=0     j=0
161   correlation(X,[k,l])=------------------------------------------------------
162                                  nx-1   ny-1                 
163                                 sigma  sigma  (X[i,j]-Xmean)^2)
164                                  i=0    j=0                     
165
166
167                          nx-k-1  ny-l-1
168                          sigma   sigma  (X[i,j]-Xmean)(Y[i+k,j+l]-Ymean)
169                           i=0     j=0
170   covariance(X,[k,l])=------------------------------------------------------
171                                            nx*ny
172
173   Where Xmean is the mens of the sample population
174   x=(x[0,0],x[1,0],...,x[nx-1,ny-1]).
175
176
177 REFERENCE:
178
179 MODIFICATION HISTORY:</div>
180
181         
182
183         
184            <h3>Parameters</h3>
185       
186           
187            <h4 id="_Auto_Cov2d_param_X">X&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
188             
189             
190             
191             
192             
193             
194             
195             
196            </h4>
197       
198          <div class="comments"></div>
199           
200            <h4 id="_Auto_Cov2d_param_Lag">Lag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
201             
202             
203             
204             
205             
206             
207             
208             
209            </h4>
210       
211          <div class="comments"></div>
212           
213
214         
215
216         
217
218            <h3>Keywords</h3>
219           
220            <h4 id="_Auto_Cov2d_keyword_Double">Double&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
221             
222             
223             
224             
225             
226             
227             
228             
229            </h4>
230       
231            <div class="comments"></div>
232           
233            <h4 id="_Auto_Cov2d_keyword_zero2nan">zero2nan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
234             
235             
236             
237             
238             
239             
240             
241             
242            </h4>
243       
244            <div class="comments"></div>
245           
246         
247
248         
249         
250         
251         
252         
253         
254         
255         
256         
257         
258         
259         
260       
261         
262         
263         
264         
265         
266         
267         
268       
269         
270       
271        </div>
272       
273
274        <div class="routine_details" id="_A_Correlate2d">
275
276          <h2><a class="top" href="#container">top</a>A_Correlate2d </h2>
277       
278          <p class="header">
279            <span class="result">result = </span>A_Correlate2d(<span class="result"><a href="#_A_Correlate2d_param_X">X</a>, <a href="#_A_Correlate2d_param_Lag">Lag</a></span>, <a href="#_A_Correlate2d_keyword_Covariance">Covariance</a>=<span class="result">Covariance</span>, <a href="#_A_Correlate2d_keyword_Double">Double</a>=<span class="result">Double</span>)</p>
280       
281          <div class="comments"></div>
282
283         
284
285         
286            <h3>Parameters</h3>
287       
288           
289            <h4 id="_A_Correlate2d_param_X">X&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
290             
291             
292             
293             
294             
295             
296             
297             
298            </h4>
299       
300          <div class="comments"></div>
301           
302            <h4 id="_A_Correlate2d_param_Lag">Lag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
303             
304             
305             
306             
307             
308             
309             
310             
311            </h4>
312       
313          <div class="comments"></div>
314           
315
316         
317
318         
319
320            <h3>Keywords</h3>
321           
322            <h4 id="_A_Correlate2d_keyword_Covariance">Covariance&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
323             
324             
325             
326             
327             
328             
329             
330             
331            </h4>
332       
333            <div class="comments"></div>
334           
335            <h4 id="_A_Correlate2d_keyword_Double">Double&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
336             
337             
338             
339             
340             
341             
342             
343             
344            </h4>
345       
346            <div class="comments"></div>
347           
348         
349
350         
351         
352         
353         
354         
355         
356         
357         
358         
359         
360         
361         
362       
363         
364         
365         
366         
367         
368         
369         
370       
371         
372       
373        </div>
374       
375      </div>
376
377     
378
379      <div id="tagline">Produced by IDLdoc 2.0.</div>
380
381    </div>
382
383  </body>
384</html>
Note: See TracBrowser for help on using the repository browser.