A novel actigraphy data analysis tool and its application to identifying the optimal threshold value in three subject populations. (20th June 2016)