phaseLocking: pahseLocking calculation for two vectors

Description Usage Arguments Value References Examples

Description

pahseLocking is written for testing purposes. if we are calculating phase locking for a large matrix, running it per pair is slow

Usage

1
phaseLocking(x, y, n = 1, m = 1)

Arguments

x

- a vector, should be a time series vector

y

- a vector, should be a time series vector

n

- time period tatio

m

- time period tatio

Value

list with 1. entropy rho 2. gamma 3. Strobo index lambda 4. Strobo index angle

References

[1]

Examples

1
2
3
4
5
x <- sin(1:200)
y <- sin(2*1:200)
n=1
m=2
phaseLocking(x, y, n=1, m=2)

TTYE/CoSync-TestVersion documentation built on May 9, 2019, 7:08 p.m.