{"id":236,"date":"2020-03-31T21:46:48","date_gmt":"2020-03-31T21:46:48","guid":{"rendered":"http:\/\/blogs.cardiff.ac.uk\/sensor-physiotherapy-intervention-research-group\/?page_id=236"},"modified":"2020-04-03T13:26:01","modified_gmt":"2020-04-03T13:26:01","slug":"mojoxlab","status":"publish","type":"page","link":"https:\/\/blogs.cardiff.ac.uk\/sensor-physiotherapy-intervention-research-group\/mojoxlab\/","title":{"rendered":"MoJoXlab Motion Analysis Software Toolkit"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>MoJoXlab<\/strong><br>\nMoJoXlab is a MATLAB based custom motion capture analysis software toolkit\nwhose aim is to produce freely available motion capture analysis software to be\nused by anyone interested in generating lower limb joint kinematics waveforms\nusing any suitable wearable inertial measurement units (IMUs).<br>\nIt can generate joint angles of Ankle, Hip and Knee joints in Sagittal, Frontal\nand Transverse (not available for Ankle joint) planes for different functional\ntasks such as walking, squatting, and jumping. The joint kinematics for\nMoJoXlab is based on Joint Coordinate System (JCS) as proposed by Grood and\nSuntay. MoJoXlab takes sensor orientation data in quaternions as input and\noutputs joint angles in degrees. The algorithm considers a static calibration\nstep, where sensor data is captured for calibration purposes while the\nparticipant maintains a standing pose. This calibration step is then used to\ncalculate the joint angles for the dynamic phase of the motion.<strong><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Data Structure<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Currently, MoJoXlab is designed to be used on a <strong>7\nsensor<\/strong> based setup, with sensors placed in the <strong>Pelvis, both thighs, both\nshanks and both feet<\/strong>. Input files should be in quaternions for <strong>7 sensors\nwith 28 columns of data<\/strong> in the following order, where each sensor consists\nof <strong>4 columns of quaternion orientations<\/strong>:<strong><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Pelvis [q<sub>a<\/sub>, q<sub>b<\/sub>,\n     q<sub>c<\/sub>, q<sub>d<\/sub>],<\/li><li>Right Thigh [q<sub>a<\/sub>,\n     q<sub>b<\/sub>, q<sub>c<\/sub>, q<sub>d<\/sub>],<\/li><li>Right Shank [q<sub>a<\/sub>,\n     q<sub>b<\/sub>, q<sub>c<\/sub>, q<sub>d<\/sub>],<\/li><li>Right Foot [q<sub>a<\/sub>, q<sub>b<\/sub>,\n     q<sub>c<\/sub>, q<sub>d<\/sub>],<\/li><li>Left Thigh [q<sub>a<\/sub>, q<sub>b<\/sub>,\n     q<sub>c<\/sub>, q<sub>d<\/sub>],<\/li><li>Left Shank [q<sub>a<\/sub>, q<sub>b<\/sub>,\n     q<sub>c<\/sub>, q<sub>d<\/sub>],<\/li><li>Left Foot [q<sub>a<\/sub>, q<sub>b<\/sub>,\n     q<sub>c<\/sub>, q<sub>d<\/sub>],<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Output\nfiles will contain joint angles with <strong>16 columns of data<\/strong> in the following\norder:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Ankle Left Sagittal,<\/li><li>Ankle Left Frontal,<\/li><li>Ankle Right Sagittal,<\/li><li>Ankle Right Frontal,<\/li><li>Hip Left Sagittal,<\/li><li>Hip Left Frontal,<\/li><li>Hip Left Transverse,<\/li><li>Hip Right Sagittal,<\/li><li>Hip Right Frontal,<\/li><li>Hip Right Transverse,<\/li><li>Knee Left Sagittal,<\/li><li>Knee Left Frontal,<\/li><li>Knee Left Transverse,<\/li><li>Knee Right Sagittal,<\/li><li>Knee Right Frontal,<\/li><li>Knee Right Transverse. <\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The software workflow: &#8211;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Get Static Calibration Data:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use this button to select the static calibration data file. A dialog box will open to allow you to select the calibration data file. Be careful as sometimes the dialog box opens behind the app and becomes difficult to see. After you have selected the calibration data file. The filepath and filename is shown on the adjacent text field. <\/p>\n\n\n<p>[sample data is provided with the main zip folder with filename: sample_StaticCalibrationDataFile.csv]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Get Activity Data:<\/strong><br> Use this button to select the dynamic activity file for example, walking, jumping or squatting activity data file. A dialog box will open to allow you to select the calibration data file. Be careful as sometimes the dialog box opens behind the app and becomes difficult to see. After you have selected the calibration data file. The filepath and filename is shown on the adjacent text field. <\/p>\n\n\n<p>[sample data is provided with the same zip folder with filename:<br \/>\nsample_ActivityDataFile.csv]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><\/strong><strong>Sampling Frequency:<\/strong><br>\nUse this field to input the sampling frequency of the activity data in Hertz\n(Hz). [use 60 Hz for sample data]<strong><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Calculate Joint Angles:<\/strong><br>\nUse this button to calculate the joint angles. A dialog box will open that will\nallow you to select the output folder. Be careful as sometimes the dialog box\nopens behind the app and becomes difficult to see. The output data file will be\nsaved in this folder. The filename is automatically generated and will be shown\non the adjacent text field.<strong><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Joint Angle Waveforms:<\/strong><br> The plotting area shows the joint angles calculated in degrees, for either Ankle, Hip or Knee joints, showing left or right side, for either sagittal, frontal or transverse planes.<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>MoJoXlab software is available on the following links:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/doi.org\/10.21954\/ou.rd.11594760\" target=\"_blank\"><strong>MoJoXlab setup file for Windows<\/strong><\/a><br><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/doi.org\/10.21954\/ou.rd.11594736\" target=\"_blank\"><strong>MoJoXlab setup file for macOS<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"MoJoXlab MoJoXlab is a MATLAB based custom motion capture analysis software toolkit whose aim is to produce freely available motion capture analysis software to be used by anyone interested in [&hellip;]","protected":false},"author":572,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-236","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P9sYta-3O","jetpack-related-posts":[],"jetpack_likes_enabled":true,"meta_box":[],"_links":{"self":[{"href":"https:\/\/blogs.cardiff.ac.uk\/sensor-physiotherapy-intervention-research-group\/wp-json\/wp\/v2\/pages\/236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.cardiff.ac.uk\/sensor-physiotherapy-intervention-research-group\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.cardiff.ac.uk\/sensor-physiotherapy-intervention-research-group\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.cardiff.ac.uk\/sensor-physiotherapy-intervention-research-group\/wp-json\/wp\/v2\/users\/572"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.cardiff.ac.uk\/sensor-physiotherapy-intervention-research-group\/wp-json\/wp\/v2\/comments?post=236"}],"version-history":[{"count":5,"href":"https:\/\/blogs.cardiff.ac.uk\/sensor-physiotherapy-intervention-research-group\/wp-json\/wp\/v2\/pages\/236\/revisions"}],"predecessor-version":[{"id":243,"href":"https:\/\/blogs.cardiff.ac.uk\/sensor-physiotherapy-intervention-research-group\/wp-json\/wp\/v2\/pages\/236\/revisions\/243"}],"wp:attachment":[{"href":"https:\/\/blogs.cardiff.ac.uk\/sensor-physiotherapy-intervention-research-group\/wp-json\/wp\/v2\/media?parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.cardiff.ac.uk\/sensor-physiotherapy-intervention-research-group\/wp-json\/wp\/v2\/categories?post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.cardiff.ac.uk\/sensor-physiotherapy-intervention-research-group\/wp-json\/wp\/v2\/tags?post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}