Skip to content

Commit 9d0e8c6

Browse files
authored
Merge pull request #74 from anniegbryant/main
Update TLMI to reflect its directed nature
2 parents df25558 + 4cd3530 commit 9d0e8c6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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/fast_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
# Mutual information
323323
TimeLaggedMutualInfo:
324324
labels:
325-
- undirected
325+
- directed
326326
- nonlinear
327327
- unsigned
328328
- 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)