Python

Quantifying Soft Tissue Artefact for the Humerus and Scapula

Klevis Aliaj
1002 words
Although extensively utilized to estimate bone kinematics, skin-marker motion capture is plagued by errors arising from soft-tissue artefact (STA). The error caused by STA is substantial and “puts at risk the validity of a significant body of research in the basic, clinical, and applied sciences”. This project quantifies and visualizes STA for the humerus and scapula in 20 healthy subjects. The generated dataset and visualizations will serve as a guide for designing and validating STA suppression algorithms.

A Simple Web Application for Computing Rotator Cuff Retear Likehood

Klevis Aliaj
690 words
The rotator cuff is a group of four muscles and their associated tendons that surround the shoulder joint. They act primarily as stabilizers, seating the humeral head in the shoulder socket. Rotator cuff tears remain a therapeutic challenge for orthopedic surgeons. Among other concerns, the fundamental question of whether a rotator cuff tear should be repaired or not still remains unanswered. Various criteria can enter into the decision-making process, such as the patient's age, gender, activity level, tear severity, outlook on surgery, etc. In this project, I created a simple web application that predicts rotator cuff retear likelihood - assuming that a rotator cuff tear is surgically repaired - based on patient and tear characteristics.

Replicating Dynamic Humerus Motion Using an Industrial Robot

Klevis Aliaj
1559 words
Unlike a traditional socket prosthesis, an osseointegrated (OI) prosthesis attaches directly to the bone of the residual limb. OI prostheses provide upper-extremity amputees increased range of motion, more natural movement patterns, and enhanced proprioception. However, the direct skeletal attachment of the prosthesis elevates the risk of bone fracture. To minimize the risk of fracture, it's important to mechanically characterize the bone-prosthesis interface under the same conditions that it would experience in vivo. In this project, I robotically replicate the motion of the humerus as recorded via motion capture while subjects performed activities typical of an active amputee. The robotically replicated motions will be utilized in future investigations to mechanically characterize the bone-prosthesis interface of an OI prosthesis.

Performance of common biomechanics linear algebra operations in Numpy

Klevis Aliaj
950 words
Before building more complex logic into my codebase, I wanted to compare the performance of different methods of computing common biomechanics linear algebra operations in Numpy. As is common in biomechanics and robotics, I use a 4x4 homogeneous matrix to represent a coordinate system or pose, and correspondingly 3D vectors are upgraded to homogeneous coordinates. I knew that numpy.einsum could accommodate all linear algebra operations I am interested in performing, but I was curious to compare its performance against numpy.matmul for operations that could be performed just by matrix multiplication. Thanks to Numpy's broadcasting algorithm a considerable number of operation can be performed using numpy.matmul.