Summary: Source code documentation for `Characterizing unidirectional couplings between point
processes and flows' - Ralph G. Andrzejak and Thomas Kreuz
8. December 2011.
The source code allows you to calculate the measure L introduced in Andrzejak RG,
Kreuz T: Characterizing unidirectional couplings between point processes and flows.
EPL, 96 (2011) 50012. Please cite this paper if you use this code to calculate the
measure L. In order to understand the following documentation, you should at first read
the paper. In case you need a reprint or have any questions, please contact the authors at
ralphandrzejak at yahoo dot de.
Below we use the example of the coupled Hindmarsh-Rose dynamics studied in  to
illustrate the code. In particular we have:
Signal1: A flow of the dynamics X
Signal2: A flow of a replica surrogate of the dynamics X
Signal3: A point process derived from dynamics Y.
All signals are of length 200T (see again  for the definition of T). The dynamics X is
driving dynamics Y with epsilon = 0.1442. The notation for the following source code
parameters corresponds to the one used in .
q: window length
s : step size
W: Theiler window