Skip to content

FKSkinnerLab/CA1_Minimal_Model_Hetero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

CA1_Minimal_Model_Hetero

Anton Lunyov (uploaded June 2020), code from summer 2017+; FKSkinner (edits)

Language: python

Summary

This repository includes python code and scripts in 2 folders (1. Cell_Database_Metrics, and 2. Network_Sims) as implemented in the Chatzikalymniou et al. (2020) paper. The code does the following:

Folder 1: Cell_Database_Metrics

Contains code that generates the model database (a,b,d,klow parameters), along with the generated model database output; stores the result in 3 4-D tensors corresponding to SFA, Rheo, PIR metrics from generated model database; plots histograms (as in paper Figure). The 4-D tensors are stored in files entitled adaptation_across_4.npy, rheo_across_4.npy and TC_across_4.npy. These files store the models that are subsequently used in the network simulations.

FILES

adaptation_across_4.npy - stores the SFA data as (initial slope - final slope) of the current-frequency curve across 4 varying dimensions (a,b,d,kLow)

adaptation_across_4_ratio.npy - stores the SFA data as (initial slope / final slope) of the current-frequency curve across 4 varying dimensions (a,b,d,kLow)

rheo_across_4.npy - stores the rheobase current data across 4 varying dimensions (a,b,d,kLow)

TC_across_4.npy - stores the transition current data as a measure of post inhibitory rebound across 4 varying dimensions (a,b,d,kLow)

gen_PIR_tensor.py - generates the post-inhibitory rebound data and stores it in TC_across_4.npy

gen_rheo_tensor.py - generates the rheobase current data and stores it in rheo_across_4.npy

gen_SFA_tensor.py - generates the spike frequency adaptation data and stores it in adaptation_across_4.npy and adaptation_across_4_ratio.npy

histogrammer_BN.py - pulls out data from .npy tensors and plots histograms of a,b,d,kLow value prevalence within models with Broad (B) or Narrow (N) selections of SFA, PIR or Rheobase

histogrammer_HML.py - pulls out data from .npy tensors and plots histograms of a,b,d,kLow value prevalence within models with Low (L), Medium (M) or High (H) selections of SFA, PIR or Rheobase

Folder 2: Network_Sims

Contains code that simulates heterogeneous E-I networks adapted from Ferguson (2017) paper using brian2, with pyramidal cell models from the generated model database (the aforementioned .npy files); calculates and stores various output including power (FFT), plots of output for voltages, IPSCs, EPSCs, etc.

FILES

adaptation_across_4.npy - Stores the database of models (same as in Cell_Database_Metrics, above)

rheo_aross_4.npy - Stores the database of models (same as in Cell_Database_Metrics, above)

TC_across_4.npy - Stores the database of models (same as in Cell_Database_Metrics, above)

Brian2_PYR_PV_noisy_heterogenous.py - main file containing the simulation, equations and network parameters. Runs the simulation upon being provided the SFA, PIR and Rheobase windows as inline parameters (see jobs-list.txt, below)

bursts_brian2.py - calculates a number of pre-processing steps necessary to run determine_stats_brian2.py (adapted from Ferguson (2017) paper to work with Brian2)

determine_stats_brian2.py - determines cell statistics (adapted from Ferguson (2017) paper to work with Brian2)

write_stats_brian2.py - determines the cell statistics determined in determine_stats_brian2.py (adapted from Ferguson (2017) paper to work with Brian2)

jobs-list.txt - an example of the format of the various simulations that were run. Simulation parameters provided to Brian2_PYR_PV_noisy_heterogeneous.py as -SFA_window -Rheo_window -PIR_window -SFA_center -Rheo_center -PIR_center

/Output/ - folder containing results for network simulation for HML and BN simulations as presented in the Chatzikalymniou (2020) paper. Files names begin with the ranges of SFA, PIR and Rheo explored [SFA_range,Rheo_range,PIR_range] Data included at OSF.io at https://osf.io/xcaut/

Izhikevich cellular model equations and parameters use the strongly adapting CA1 pyramidal cell model; E-I network simulations done via brian2 software (briansimulator.org) and network rationale and details can be found in Ferguson et al. 2017.
Parameter values start from the 8th row of Table 5. All details can be found in Chatzikalymniou et al.

References

Chatzikalymniou, A. P.; Gumus, M.; Lunyov, A; Rich, S.; Lefebvre, J.; Skinner, F.K (submitted, 2020). Translating mechanisms from minimal to detailed models of CA1 hippocampal microcircuits reveals how theta rhythms emerge and how their frequencies are controlled - bioarxiv

Ferguson, K.A., Chatzikalymniou, A.P., Skinner, F.K., 2017. Combining Theory, Model, and Experiment to Explain How Intrinsic Theta Rhythms Are Generated in an In Vitro Whole Hippocampus Preparation without Oscillatory Inputs. eNeuro 4. https://doi.org/10.1523/ENEURO.0131-17.2017

About

Minimal model simulations - heterogeneous networks via pyramidal cell model database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages