A non-transitory computer-readable medium comprising instructions stored thereon for performing a method of determining a sequence of activation of a set of brain networks, in the course of a predetermined cognitive task, when the instructions are executed by a data processor, wherein the method comprises:
- obtaining at least one time series of data on encephalographic activities, according to a predetermined sampling value, said data on activities representing a signal captured on the cranial surface by a capture device, during the execution of said predetermined cognitive task by at least one individual, the obtaining delivering a set comprising at least one measurements vector per sample of the time series;
- for each measurements vector, determining a connectivity between cortical sources, said cortical sources being obtained through measurements of a measurements vector, delivering a connectivity network;
- and
- grouping connectivity networks according to a resemblance parameter delivering a set of groups of grouped connectivity networks, each representing an activity of a given brain network at a given instant, wherein grouping comprises a statistic validation of said groups of connectivity networks obtained from substitution data, comprising a comparison of spatial distribution and temporal profiles of said groups of connectivity networks obtained in said grouping with groups of connectivity networks obtained from substitution data.