DCCA¶
--
-
-
-class
fathon.
DCCA
(tsVec1=[], tsVec2=[])¶
+ - +class fathon.DCCA(tsVec1=[], tsVec2=[])¶
Bases:
object
Detrended Cross-Correlation Analysis class.
-
@@ -72,9 +74,9 @@
DCCA¶
-
-
computeFlucVec
(self, winSizes, polOrd=1, absVals=True, overlap=False, revSeg=False)¶
+ - +computeFlucVec(winSizes, polOrd=1, absVals=True, overlap=False, revSeg=False)¶
Computation of the fluctuations in each window.
- Parameters @@ -104,9 +106,9 @@
DCCA¶
-
-
computeRho
(self, winSizes, polOrd=1, verbose=False, overlap=False, revSeg=False)¶
+ - +computeRho(winSizes, polOrd=1, verbose=False, overlap=False, revSeg=False)¶
Computation of the cross-correlation index in each window.
- Parameters @@ -135,9 +137,9 @@
DCCA¶
-
-
fitFlucVec
(self, nStart=-999, nEnd=-999, logBase=2.718281828459045, verbose=False)¶
+ - +fitFlucVec(nStart=- 999, nEnd=- 999, logBase=2.718281828459045, verbose=False)¶
Fit of the fluctuations values.
- Parameters @@ -163,9 +165,9 @@
DCCA¶
-
-
multiFitFlucVec
(self, limitsList, logBase=2.718281828459045, verbose=False)¶
+ - +multiFitFlucVec(limitsList, logBase=2.718281828459045, verbose=False)¶
Fit of the fluctuations values in different intervals at the same time.
- Parameters @@ -189,9 +191,9 @@
DCCA¶
-
-
rhoThresholds
(self, winSizes, nSim, confLvl, polOrd=1, verbose=False)¶
+ - +rhoThresholds(L, winSizes, nSim, confLvl, polOrd=1, verbose=False)¶
Computation of the cross-correlation index’s confidence levels in each window.
- Parameters @@ -224,9 +226,9 @@
DCCA¶
-
-
saveObject
(self, outFileName)¶
+ - +saveObject(outFileName)¶
Save current object state to binary file.
- Parameters @@ -240,7 +242,7 @@
DCCA¶
-
+
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
+
Usage examples¶
import numpy as np
import fathon
@@ -276,10 +278,11 @@ Usage examplesn, cInt1, cInt2 = pythresh.rhoThresholds(300, wins, 100, 0.95, polOrd=1)