Local aspects of sleep and wakefulness