Skip to content

Predictive simulations of walking in children with cerebral palsy

License

Notifications You must be signed in to change notification settings

antoinefalisse/predictcpgait

Repository files navigation

Predictive simulation of cerebral palsy gait (predictcpgait)

This repository contains code and data to generate three-dimensional muscle-driven predictive simulations of walking in children with cerebral palsy as described in: Falisse A, Pitto L, Kainz H, Hoang H, Wesseling M, Van Rossom S, Papageorgiou E, Bar-On L, Hallemans A, Desloovere K, Molenaers G, Van Campenhout A, De Groote F, and Jonkers I. Physics-based simulations to predict the differential effects of motor control and musculoskeletal deficits on gait dysfunction in cerebral palsy: a retrospective case study. Frontiers in Human Neuroscience. 2020.

Thanks for citing our work in any derived publication. Feel free to reach us for any questions: [email protected] | [email protected] | [email protected] | [email protected]. This code has been developed on Windows using MATLAB2017b. There is no guarantee that it runs smooth on other platforms. Please let us know if you run into troubles.

predictcpgait consists of three main folders:

  1. ParameterEstimation
    • This folder contains code to estimate personalized muscle-tendon parameters. This code is inspired from Falisse et al. (2017).
  2. Spasticity
    • This folder contains code to derive personalized spasticity models. This code is inspired from Falisse et al. (2018).
  3. PredictiveSimulations

The other folders contain code and data used for the muscle-tendon parameter estimation, spasticity models, and predictive simulations:

  1. CollocationScheme
    • This folder contains code for setting up direct collocation problems.
  2. MuscleModel
    • This folder contains code for modeling muscle behavior and a bunch of other things.
  3. OpenSimModel
    • This folder contains OpenSim model and data used in this study. WARNING: only a subset of the data is shared on Github to limit the size of the repository. This dataset is sufficient for running the predictive simulations but not for running the parameter estimation and deriving the spasticity models. You can find the full dataset in this repository.
  4. VariousFunctions
    • This folder contains a bunch of scripts and functions used in other code of this repository.