[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


acf Source code in acf.pro

acf

Name
         acf
Purpose
         Compute the autocorrelation function of an evenly sample lightcurve
Category
         time series analysis
Calling Sequence
         acf,time,rate,lag,acf,covf
Input Parameters
         time      : the times at which the time series was measured
         rate      : the corresponding count rates
Optional Input Parameters
         none
Keyword Parameters
         none
Output Parameters
         lag       : sample time lags
         acf       : autocorrelation values to each time lag given in
                     a two-dimensional array, once without
                     correction-factor and once with.
Optional Output
         covf      : autocovariance values to each time lag given in
                     a one-dimensional array.
Common Blocks
         none
Side Effects
         none
Restrictions
         evenly time series
Procedure
         The autocorrelation function is computed according to the
         approximation of evenly sample given by
         covf(lag)=(1/(npt-lag))SUM_{j=1,..npt-lag}[x(j)-<x>][x(j+lag)-]
         acf(lag)=covf(lag)/covf(0)
         Additionally, a corection-factor given by Sutherland et
         al. 1978, Ajp 219, 1029P, is added.
Example
         acf,time,rate,lag,acf,covf=covf
Revision History
         Version 1.0, 1998.12.21, Sara Belloch IAAT, Joern Wilms IAAT.
                                 ([email protected])

Last modified by pro2html on 2005 January 04 at 16:44 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms ([email protected])
Updated automatically