Code Monkey home page Code Monkey logo

2-compartments_l5-pc_model's Introduction

2-compartments_L5-PC_model

Two-compartments Layer 5 Pyramidal Cell Model

The basal-dendritic/somatic compartment includes the classic Hodgkin-Huxley sodium (I_Na) and potassium delayed rectifier (I_Kdr) currents (Hodgkin and Huxley, 1952). The apical-dendrite/trunk compartment includes persistent Na^+ current (I_Nap) (Magistretti and Alonso, 1999), Ca^(2+) L-type current (I_CaL) (Lytton and Sejnowski, 1991), hyperpolarization-activated non-specific cation current (I_h) (Kole et al., 2006), muscarinic K+ current (I_M) (Adams et al., 1982), and the slow-inactivating potassium current (I_Ks) (Korngreen and Sakmann, 2000).

Plataform

MatLab (release 2018b)

A memory of at least 16 GB is needed to run the trials to create the f-I curves.

Dependencies

For the numerical simulations and data processing the following MatLab toolboxes were used:

Description

  • InputCurrents: contains the functions used to generate the input currents.
  • IonicCurrents: contains the channels kinetics and a test function to visualize the channel kinetics curves: activation/inactivation and time constants.
  • SingleNeuron: contains the model codes with Ih blocked and without blocking Ih for a single neuron. Add InputCurrents and IonicCurrents to the MATLAB path before running scripts.
  • L5PCs: contains the model codes with Ih blocked and without blocking Ih for a collaction of L5-PCs located randomly in a cortical column. It also contains the codes for the local field potentials (LFPs) and current source density (CSD) estimations. Add InputCurrents and IonicCurrents to the MATLAB path before running scripts.
  • GenerateFigures: contains the programs used to create the figures.

License

Copyright (C) 2020 Beatriz Herrera, Amirsaman Sajad, Geoffrey F. Woodman, Jeffrey D. Schall, Jorge J. Riera.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

GNU GPLv3

Citation

Herrera B, Sajad A, Woodman GF, Schall JD, Riera JJ. A minimal biophysical model of neocortical pyramidal cells: implications for frontal cortex microcircuitry and field potential generation. J Neurosci 40, 8513-8529 (2020); DOI: https://doi.org/10.1523/JNEUROSCI.0221-20.2020.

2-compartments_l5-pc_model's People

Contributors

beaherrera avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

2-compartments_l5-pc_model's Issues

Vsh is not given in 2-compartments_L5-PC_model/SingleNeuron/FIh.m

In this line,

E_NaD = 50 + Vsh; % [mV] reversal potatial for the sodium channels

the variable Vsh is not given.

Error trace:
Unrecognized function or variable 'Vsh'.

Error in FIh (line 70)
E_NaD = 50 + Vsh; % [mV] reversal potatial for the sodium channels

Error in mainIh>@(X)FIh(0,X,theta) (line 191)
X0 = fsolve(@(X)FIh(0,X, theta), X0);

Error in fsolve (line 258)
fuser = feval(funfcn{3},x,varargin{:});

Error in mainIh (line 191)
X0 = fsolve(@(X)FIh(0,X, theta), X0);

Caused by:
Failure in initial objective function evaluation. FSOLVE cannot continue.

Could you please add its value to make it run correctly? Thank you.

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.