Single pulse analysis of intracranial pressure for a hydrocephalus implant