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

 
 

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%