a sleep scoring experiment in python