The OpenSim Team will host a hands-on software workshop on Wednesday July 31st at the 19th International Symposium on Computer Methods in Biomechanics and Biomedical Engineeering (CMBBE 2024). The workshop will demonstrate how the OpenSim software ecosystem allows researchers to collect motion data using smartphones, easily set up OpenSim scripting environments in Python, and rapidly create muscle-driven simulations. More details and instructions for setting up simulation environments for the hands-on portions of the workshop can be found below.
Overview
Musculoskeletal simulations provide a way to gain deep insights into how movement is coordinated. New tools for rapidly developing musculoskeletal simulations are enabling more researchers to leverage simulations by reducing the barrier to entry. In this workshop, we will present how our ecosystem of OpenSim tools for rapidly creating simulations, including from smartphone videos using OpenCap, and new features we’ve added to our Python and Jupyter notebook interfaces make it easier to generate simulations. With a combination of didactic portions and hands-on examples, participants will learn about OpenSim’s tools for creating simulations, and how to import movement data, create muscle-driven simulations, and analyze the results.
Attendees will learn:
To understand the capabilities of tools available in the OpenSim ecosystem, including OpenCap for motion capture with smartphones
To write Python code and use Jupyter notebooks to generate, analyze, and share simulations
To understand validation approaches and potential research applications of the software
Setup instructions
The first portion of the workshop will demonstrate OpenCap. There is no interactive segment for this software demonstration, but sample files are included in this repository:
The second and third portions of the workshop will demonstrate how to utilize the Python scripting interface in OpenSim to perform analyses, create visualizations, and generate muscle-driven simulations. We will use interactive Jupyter notebooks through Google Colab to demonstrate the OpenSim Python interface, and you may use these notebooks follow along with each software demonstration during the workshop.
Google Colab
Google Colab is a free service for hosting Jupyter notebooks in the cloud along with computing services. The condacolab project enables install Conda environments directly into a Jupyter notebook.
To get started, simply click the links below to open the interactive Jupyter notebook for each hands-on software demo.
Demo 2: Analyzing and visualizing movement data with OpenSim (TODO)
Demo 3: Creating muscle-driven simulations with OpenSim Moco
Trying running Section 3.2 on your own to install most of the software prerequisites for this demo.
GitHub repository
All of the workshop materials are hosted on GitHub and can be freely shared or modified for your own research purposes. The GitHub repository also contains additional instructions for installing OpenSim into a local Python scripting environment. However, we strongly recommend using Google Colab for the hands-on workshop demonstrations (unless technical difficulties with Google Colab require manual installation).
https://github.com/opensim-org/CMBBE2024
Documentation
OpenSim API docs
TODO
Moco cheat sheet
Moco website
Visit the Moco website here.
Slides
Coming soon!
Publications
TODO