Using dynamic time warping for sleep and wake discrimination | IEEE Conference Publication | IEEE Xplore