Coder Social home page Coder Social logo

modeldbrepository / 267307 Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 1.0 383 KB

Hippocampal CA3 thorny and a-thorny principal neuron models (Linaro et al in review)

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

Python 80.11% AMPL 19.89%
hippocampus-ca3-pyramidal-glu-cell excitability-synaptic-integration-bursting-action- neuron-simulator

267307's Introduction

Model files for the NEURON simulation environment for the paper

"Cell type-specific mechanisms of information transfer in data-driven biophysical models of hippocampal CA3 principal neurons"

by Daniele Linaro, Matthew J. Levy, and David L. Hunt

PLOS Computational Biology 2022



This repository contains the following folders:

1. mechanisms: the MOD-files used by the models.
2. morphologies: two cell morphologies in SWC format, one for each cell type.
3. individuals: two sets of parameters, one for each cell type, corresponding to several "individuals" obtained with a multi-objective optimization procedure.
4. configs: configuration files to be used with the script "synaptic_cooperativity.py".
5. dlutils: a small Python library necessary to run the code. This is part of the neuronopt package that can be freely downloaded from https://github.com/danielelinaro/neuronopt.



The following scripts can be used to simulate the models:

-------------------------------------------------------------------------------
current_injection.py

Runs a simple current injection protocol on a model cell.

Examples:

python3 current_injection.py -f morphologies/DH070813C1.swc -p individuals/DH070813C1/individual_0.json -c individuals/DH070813C1/parameters.json -n DH070813C1 --replace-axon yes --add-axon-if-missing yes --plot  -v --dur 1000 --delay 500 500

python3 current_injection.py -f morphologies/DH070213C3.swc -p individuals/DH070213C3/individual_0.json -c individuals/DH070213C3/parameters.json -n DH070213C3 --replace-axon yes --add-axon-if-missing yes --plot  -v --dur 1000 --delay 500 50


-------------------------------------------------------------------------------
fI_curve.py

Injects several steps of current in a model cell to compute its static input-output curve (f-I curve).

Examples:

python3 fI_curve.py -f morphologies/DH070813C1.swc -p individuals/DH070813C1/individual_1.json -c individuals/DH070813C1/parameters.json -n DH070813C1 --replace-axon yes --add-axon-if-missing yes --dur 1000 --delay 500 --tran 100 200:600:100

python3 fI_curve.py -f morphologies/DH070213C3.swc -p individuals/DH070213C3/individual_0.json -c individuals/DH070213C3/parameters.json -n DH070213C3 --replace-axon yes --add-axon-if-missing yes --dur 1000 --delay 500 --tran 0 0:250:50   


-------------------------------------------------------------------------------
measure_Rin.py

Injects a hyperpolarizing step of current into each compartment of a model cell to compute its input resistance. It can use SCOOP to run in parallel if the package is available on the platform.

Examples:

python3 -m scoop measure_Rin.py -f morphologies/DH070813C1.swc -p individuals/DH070813C1/individual_1.json -c individuals/DH070813C1/parameters.json -n DH070813C1 --replace-axon yes --add-axon-if-missing yes --dur 1000 --delay 500 --model-type passive --plot -o DH070813C1

python3 -m scoop measure_Rin.py -f morphologies/DH070213C3.swc -p individuals/DH070213C3/individual_0.json -c individuals/DH070213C3/parameters.json -n DH070213C3 --replace-axon yes --add-axon-if-missing yes --dur 1000 --delay 500 --model-type passive --plot -o DH070213C3


-------------------------------------------------------------------------------
measure_spine_AR.py

Injects an EPSP-shaped current into a spine head to measure the spine/dendrite amplitude ratio.

Examples:

python3 measure_spine_AR.py -F morphologies/DH070813C1.swc -p individuals/DH070813C1/individual_1.json -c individuals/DH070813C1/parameters.json -n DH070813C1 --replace-axon yes --add-axon-if-missing yes --model-type passive -O . -q 'apical[14](0.5)'

python3 ../neuronopt/measure_spine_AR.py -F morphologies/DH070213C3.swc -p individuals/DH070213C3/individual_0.json -c individuals/DH070213C3/parameters.json -n DH070213C3 --replace-axon yes --add-axon-if-missing yes --model-type passive -O . -q 'apical[16](0.5)'


-------------------------------------------------------------------------------
synaptic_cooperativity.py

Simulates the sequential activation of spines located on the dendritic tree of a model cell while also injecting an Ornstein-Uhlenbeck current in the soma to replicate ongoing background synaptic activity.

Examples:

python3 synaptic_cooperativity.py config/synaptic_inputs_config_thorny.json

python3 synaptic_cooperativity.py config/mutual_information_config_thorny.json



Each script has an extensive online help that can be accessed by typing

python3 <script-name> --help


For further questions on how to use this model please contact Daniele Linaro at the following email address: [email protected].

267307's People

Contributors

alexsavulescu avatar

Watchers

 avatar  avatar  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.