Feature extraction from the electroencephalogram by adaptive segmentation | Synapse