pyntbci.utilities.itr
- pyntbci.utilities.itr(n: int | list | NDArray, p: float | list | NDArray, t: float | list | NDArray) NDArray[source]
Compute the information-transfer rate (ITR).
- Parameters:
n (int | list | NDArray) – The number of classes.
p (float | list | NDArray) – The decoding accuracy between 0 and 1.
t (float | list | NDArray) – The decoding time in seconds (including inter-trial time).
- Returns:
itr – The ITR in bits per minute.
- Return type:
NDArray