wake:
Read in bed log and Identify Wake/Sleep Times in Second-by-Second AP Events File
Description
This function reads in bed log and marks wake/sleep time in sec-by-second file. Bed log must be in correct format. A column named "wake" will be added to the second-by-second file. 1 indicates the participant is awake and 0 indicates the participant is sleeping.