pyntbci.stimulus.make_apa_sequence

pyntbci.stimulus.make_apa_sequence() NDArray[source]

Make an almost perfect auto-correlation (APA) sequence.

Returns:

stimulus – A matrix with an APA sequence of shape (1, n_bits).

Return type:

NDArray

References

Wolfmann, J. (1992). Almost perfect autocorrelation sequences. IEEE Transactions on Information Theory, 38(4), 1412-1418. doi: 10.1109/18.144729 Wei, Q., Liu, Y., Gao, X., Wang, Y., Yang, C., Lu, Z., & Gong, H. (2018). A novel c-VEP BCI paradigm for increasing the number of stimulus targets based on grouping modulation with different codes. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 26(6), 1178-1187. doi: 10.1109/TNSRE.2018.2837501