Principles of Brain Pulse Analysis