Coder Social home page Coder Social logo

modeldbrepository / 266435 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 56 KB

Inhibitory network bistability explains increased activity prior to seizure onset (Rich et al 2020)

Home Page: https://modeldb.science/266435

License: GNU General Public License v3.0

MATLAB 80.09% Shell 2.73% C 17.17%
abstract-izhikevich-neuron synchronization-epilepsy

266435's Introduction

CorticalInhibitoryNetwork

Citation: Scott Rich, Homeira Moradi Chameh, Marjan Rafiee, Katie Ferguson, Frances K. Skinner and Taufik A. Valiante. "Inhibitory network bistability explains increased interneuronal activity prior to seizure onset." Frontiers in Neural Circuits, 13, 2020.

License: GNU GENERAL PUBLIC LICENSE. Contact: Scott Rich, [email protected].

Simulations:

Simulations are performed primary utilizing the .c code (InhibitoryNetwork_cortex_0712.c) with parameter inputs generated via .sh files (InhibitoryNetwork_cortex_submit_0812.sh, InhibitoryNetwork_cortex_submit_zoom_0725.sh, InhibitoryNetwork_cortex.sh). Following compiling the code into a .o file, an example run of the code will look like the following:

./InhibitoryNetwork_cortex_0712.o gsynmin gsynmax gsynstep Iappmin Iappmax Iappstep probii sdev count state

where the first three inputs define the parameter range of synaptic strengths, the following three inputs define the paramter range of the applied current values, probii defines the connection probability, sdev defines the standard deviation amongst the applied currents, count dictates the number used to name the output files, and state is chosen to be either 0 or 1 (0 the control case and 1 the 4-AP case).

Miscellany in the .sh files (srun, #SBATCH, etc.) are references to the implementation of the code on Compute Canada resoruces and can be ignored if the code is being run on an individual computer.

Outputs of the code include the following: InhibitoryNetwork_count_TrackVariables.csv: if uncommented, outputs average current and voltage values at each time step. InhibitoryNetwork_count_SpikeTimes.csv: spike times for each neuron. InhibitoryNetwork_count_InputCurrents.csv: external current drive to each neuron. InhibitoryNetwork_count_ConnectivityMatricies.csv: if uncommented, outputs connectivity matrix for each simulation. InhibitoryNetwork_count_Variables.csv: key variables for each simulation run in the format "probii, gsyn, Iappavg, sdev, state".

Plotting:

Plotting is done utilizing the various .m files included in the repository, primarily making use of the SpikeTimes, InputCurrents, and Variables outputs from the .c code. These pieces of code are relatively well commented and should be easily understandable given the littany of documention for Matlab coding available via MathWorks.

InhibitoryCortex_.m files:

code used to plot the various heatmaps presented in the manuscript, implementing the "Synchrony Measure" and "Bistability Measure"

conv_gaussian.m, convert_spiketimes.m, golomb_measure.m, golomb_synch.m:

code used for the implementation of the "Synchrony Measure"

InhibitoryCortex_pulse_2d_FullWithRep_0905.m:

code used to generate "2d" plots of Synchrony Measure vs Input Current

Remaining .m files:

code containing the various miscellany necessary for the plotting functions discussed above.

266435's People

Contributors

tommorse avatar

Watchers

 avatar  avatar

Forkers

opensourcebrain

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.