Although the electroencephalogram - discovered more than a century ago - has been used for years as a non-invasive diagnostic tool, it is still poorly understood.