Multi-compartmental and multi-scale modeling in MOOSE via Python
Subhasis Ray National Centre for Biological Sciences Tata Institue of Fundamental Research Bangalore, INDIA BrainScaleS CodeJam 5, Edinburgh 2012
Multi-compartmental and multi-scale modeling in MOOSE via Python - - PowerPoint PPT Presentation
Multi-compartmental and multi-scale modeling in MOOSE via Python Subhasis Ray National Centre for Biological Sciences Tata Institue of Fundamental Research Bangalore, INDIA BrainScaleS CodeJam 5, Edinburgh 2012 Outline Walk through:
Subhasis Ray National Centre for Biological Sciences Tata Institue of Fundamental Research Bangalore, INDIA BrainScaleS CodeJam 5, Edinburgh 2012
3
Logo credit: Upi Bhalla
4
5
Cm Rm Em Cell membrane Cytoplasm Extracellular medium Vm
6
7
8
9
Cm Rm Rm' Ra' Cm' Ra Em Em' Vm Vm' soma axon Vm, Ra Vm'
10
Cm Rm Rm' Ra' Cm' Ra Em Em' Vm Vm'
11
Cm Rm Em Ra Cell membrane Cytoplasm Extracellular medium Vm Gk Ek Ik
12
3∗h
13
Equation for beta has same form as alpha
14
15
16
Enzyme Substrate Product Tick2 dt=1s Chemical compartment
17
Soma K_AHP channel Tick 0 dt=0.1ms [Ca2+] Electrical model
18
Enzyme Substrate Product Tick 2 dt=1s Chemical compartment Soma K_AHP channel Tick 0 dt=0.1ms Electrical model
19
Enzyme Substrate Product Tick 2 dt=1s Chemical compartment Soma K_AHP channel Tick 0 dt=0.1ms concentration Electrical model
20
Chemical Compartment Electrical Compartment (spine) NMDA Channel Ca Channel Ca Pool
21
soma_0 axon_0 soma_1 axon_1 SpikeGen_0 SynChan_0 Vm Spike event Gk/Ek
22
soma_0 axon_0 SpikeGen_0 Vm soma_1 axon_1
23
soma_0 axon_0 SpikeGen_0 Vm Spike event soma_1 axon_1
24
soma_0 axon_0 soma_1 axon_1 SpikeGen_0 SynChan_0 Vm Spike event
25
soma_0 axon_0 soma_1 axon_1 SpikeGen_0 SynChan_0 Vm Spike event Gk/Ek
26
27
thalamus
28
Figure: Upi Bhalla
29
file database SBW/
system
Derived from: http://moose.sourceforge.net/images/stories/architecture_65.jpg
Command line/scripting interface
user
30
shell file database SBW/
system
Derived from: http://moose.sourceforge.net/images/stories/architecture_65.jpg
Command line/scripting interface
user
31
shell file database SBW/
system
Derived from: http://moose.sourceforge.net/images/stories/architecture_65.jpg
Command line/scripting interface
user
Simulation entities
32
soma
na_channel Gk/Ek Vm handleChannel() handleVm()
33
shell file database SBW/
system
Derived from: http://moose.sourceforge.net/images/stories/architecture_65.jpg
Command line/scripting interface
user
Simulation entities
scheduler
34
database
Derived from: http://moose.sourceforge.net/images/stories/architecture_65.jpg
shell file SBW/
system Command line/scripting interface user
Simulation entities
Clock
35
database
Derived from: http://moose.sourceforge.net/images/stories/architecture_65.jpg
shell file SBW/
system Command line/scripting interface user
Simulation entities
Tick 0: dt0 Tick 1: dt1 Clock
36
database
Derived from: http://moose.sourceforge.net/images/stories/architecture_65.jpg
shell file SBW/
system Command line/scripting interface user
Simulation entities
Tick 0: dt0 Tick 1: dt1 Clock init() process() Compartment
37
shell file database SBW/
system
Derived from: http://moose.sourceforge.net/images/stories/architecture_65.jpg
Command line/scripting interface
user
Simulation entities
scheduler solvers
38
Compartment 1 Compartment 2 Compartment 3 Compartment 4 Tick0
39
Compartment 1 Compartment 2 Compartment 3 Compartment 4 Tick0 Solver
40
Compartment 1 Compartment 2 Compartment 3 Compartment 4 Tick0 Solver
41
42
43
44
45
46
svn checkout \ http://moose.svn.sourceforge.net/svnroot/moose/moose/branches/dh_branch/ \ new_moose
cd new_moose make pymoose [optional USE_HDF5=1]
export PYTHONPATH={path to new_moose}/python:$PYTHONPATH cd {path to new_moose}/Demos/squid python squid_demo.py
47