1. A system for brain activity analysis, the system comprising: an input module for receiving EEG and/or MEG signals from a subject; a processor, configured for identifying brain activity patterns in said signals using a counting method or method of calculating statistical significances of pairs, for identifying a plurality of candidate pathways for said brain activity patters, for defining flow patterns among functional brain regions based on candidate pathways, for accessing a flow pattern database having previously determined flow patterns, and for comparing said flow pattern to said previously determined flow patterns of said database; and an output module for presenting results of said comparison.