Code for the paper Soft-wired long-term memory in a natural recurrent neuronal network (doi:10.1063/5.0009709).
Optimal network found by the genetic algorithm.
Connectome from Whole-animal connectomes of both Caenorhabditis elegans sexes in xls files. The directory also includes the code for the pruning and Gephi files for figure 1a.
- FinalFigures: Different figures of the paper in
pdf. - ProgrammingFigures:
ipynbfiles for plotting the figures.
Source files for running the genetic algorithm specified in section III. Contains the code necessary to reproduce figure 2 and figure 3a. Neural signals in worm_data.mat do not correspond to the data used in the study. A placeholder was created, preserving some features of the original calcium traces in Pan-neuronal imaging in roaming Caenorhabditis elegans.
Additional complementary resources.
Necessary files to compute permutation entropy in figure 3b. The main file is mainPentropy.m, which calls petropy.m from Practical considerations of permutation entropy: A tutorial review.
Python code to generate different R distributions in figure 6d.
Chi-square test to compare distributions in figure 5b.
