Skip to content

Commit 23b2017

Browse files
committed
fix type signature on AMIStats for python 3.8
1 parent 10a9b6a commit 23b2017

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyhctsa/Operations/Information.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import numpy as np
33
import jpype as jp
44
import os
5-
from numpy.typing import ArrayLike
5+
from numpy.typing import ArrayLike, Dict
66
from scipy import stats
77
from loguru import logger
88
from ..Utilities.utils import signChange
@@ -12,7 +12,7 @@ def AutoMutualInfoStats(
1212
y: ArrayLike,
1313
maxTau: Optional[int] = None,
1414
estMethod: str = 'kernel',
15-
extraParam: Optional[Union[int, str]] = None) -> dict[str, float]:
15+
extraParam: Optional[Union[int, str]] = None) -> Dict[str, float]:
1616
"""
1717
Calculate statistics on the automutual information (AMI) function of a time series.
1818

0 commit comments

Comments
 (0)