Skip to content

Commit 4fd1908

Browse files
committed
Update TLMI to reflect its directed nature
1 parent 5c87883 commit 4fd1908

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyspi/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@
517517
# Mutual information
518518
TimeLaggedMutualInfo:
519519
labels:
520-
- undirected
520+
- directed
521521
- nonlinear
522522
- unsigned
523523
- bivariate

pyspi/statistics/infotheory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,10 @@ def bivariate(self, data, i=None, j=None, verbose=False):
300300
return np.NaN
301301

302302

303-
class TimeLaggedMutualInfo(MutualInfo):
303+
class TimeLaggedMutualInfo(JIDTBase, Directed):
304304
name = "Time-lagged mutual information"
305305
identifier = "tlmi"
306-
labels = ["unsigned", "infotheory", "temporal", "undirected"]
306+
labels = ["unsigned", "infotheory", "temporal", "directed"]
307307

308308
def __init__(self, **kwargs):
309309
super().__init__(**kwargs)

0 commit comments

Comments
 (0)