newanalysis.correl.correlate

newanalysis.correl.correlate(data1, data2, ltc=0)

Takes two data sets and calculates their correlation function.

Parameters:
  • array (data2 .. numpy) –

  • float64

  • ndim=1

  • array

  • float64

  • ndim=1

  • used (ltc .. type of long tail correction) – 0 = none (default) 1 = the average of the time series is subtracted from it before the correlation 2 = the result is modified

Usage example:

result = correlate(data1, data2)