Text this: Use of Functional Data to Model the Trajectory of an Inertial Measurement Unit and Classify Levels of Motor Impairment for Stroke Patients