Skip to content

Neuromechanical model of locomotion in C. elegans, originally developed by Eduardo Izquerdo, Erick Olivares and Randall Beer

Notifications You must be signed in to change notification settings

openworm/CE_locomotion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1e02729 · Feb 28, 2025
Feb 27, 2025
Feb 28, 2025
Feb 28, 2025
Feb 27, 2025
Feb 27, 2025
Jan 8, 2025
Jun 22, 2022
Feb 27, 2025
Feb 24, 2025
Feb 26, 2025
Feb 26, 2025
Dec 7, 2024
Jan 24, 2025
Feb 21, 2025
Feb 27, 2025
Jun 22, 2022
Jun 22, 2022
Dec 19, 2024
Feb 19, 2025
Feb 18, 2025
Jun 22, 2022
Jun 22, 2022
Jun 22, 2022
Jun 22, 2022
Jun 22, 2022
Feb 21, 2025
Feb 21, 2025
Jun 22, 2022
Jan 7, 2025
Jan 24, 2025
Feb 26, 2025
Feb 26, 2025
Feb 27, 2025
Feb 28, 2025
Jun 22, 2022
Jun 22, 2022
Feb 28, 2025
Feb 27, 2025
Feb 27, 2025
Feb 27, 2025
Jan 14, 2025
Feb 6, 2025
Feb 21, 2025
Feb 21, 2025
Jun 22, 2022
Jun 22, 2022
Jun 22, 2022

Repository files navigation

Neuromechanical model of forward and backward locomotion in C. elegans

This repository contains all the classes necessary to evolve a neuromechanical model of C. elegans to produce forward and backward locomotion.

We are using this to better understand how the same neural circuit can produce multiple behaviors (i.e., forward and backward) and modulate between them through command neurons.

Work in collaboration with Dr. Erick Olivares and Prof. Randall Beer.

Instructions for use

  1. Compile using the Makefile:
$ make
  1. Perform an evolutionary run (takes aprox. 2 minutes):
$ ./main
  1. Visualize the evolutionary progress:
$ python viz.py
  1. Visualize the movement of the body using Mathematica:
$ Mathematica viz.nb

Screenshot of the animation of the simulated worm's body in Mathematica

  1. Visualize the dynamic neural and muscle activity:
$ python load_data.py

Activity in neurons, muscles and stretch receptors

About

Neuromechanical model of locomotion in C. elegans, originally developed by Eduardo Izquerdo, Erick Olivares and Randall Beer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 77.5%
  • Mathematica 19.8%
  • Python 2.1%
  • Makefile 0.6%