DynamicsAndNeuralSystems / pyspi

Comparative analysis of pairwise interactions in multivariate time series.
https://time-series-features.gitbook.io/pyspi/
GNU General Public License v3.0
200 stars 26 forks source link

Update TLMI to reflect its directed nature #74

Closed anniegbryant closed 3 weeks ago

anniegbryant commented 3 weeks ago

Time-lagged mutual information is an intrinsically directed (asymmetric) measure, cf. Schreiber 2000. This PR corrects the corresponding SPI (prefix tlmi_) to calculate metrics in a directed manner by updating the inherited class attributes for the TimeLaggedMutualInfo object in infotheory.py. It also updates the label approrpriately in the config.yaml file.

anniegbryant commented 3 weeks ago

Thanks, good catch Josh! I just updated fast_config.yaml to reflect that TLMI is directed as well.