Codes for Transient state analysis in EEG;
The codes need the toolboxes from https://github.com/OHBA-analysis/HMM-MAR/wiki;
The source reconstruction based on fieldtrip;
Some codes of Parcellation and HMM inference are modified from HMM-MAR project;
Machine learning needs PLS toolbox;