A method of analyzing neurophysiological data recorded from a subject is disclosed. The method comprises identifying activity-related features in the data, and parceling the data according to the activity-related features to define a plurality of capsules, each representing a spatiotemporal activity region in the brain. The method further comprises comparing at least some of the defined capsules to at least one reference capsule, and estimating a brain function of the subject based on the comparison.