In case your symbols are not numeric, e.g. A, B, C, D, they will be mapped to integer values.
If you want to include this analysis into a Python script, visit the GitHub repo for the Python implementation
The Python code has been used in these publications:
[1] F. von Wegner, S. Bauer, F. Rosenow, J. Triesch, H. Laufs, “EEG microstate periodicity explained by rotating phase patterns
of resting-state alpha oscillations.”, NeuroImage, 224:117372, 2021.
[2] F. von Wegner, H. Laufs, “Information-theoretical analysis of EEG microstate sequences in Python.”, Front Neuroinform, 12:30, 2018.
[3] F. von Wegner, P. Knaut, H. Laufs, “EEG microstate sequences from different clustering algorithms are information-theoretically
invariant.”, Front Comp Neurosci, 12:70, 2018.
[4] F. von Wegner, E. Tagliazucchi, H. Laufs, “Information theoretical analysis of resting state EEG microstate sequences -
non-Markovianity, non-stationarity and periodicities.”, NeuroImage, 158:99-111, 2017.