Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F84184174
plot_gating_kinetics.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Sep 21, 05:39
Size
916 B
Mime Type
text/x-python
Expires
Mon, Sep 23, 05:39 (2 d)
Engine
blob
Format
Raw Data
Handle
20952128
Attached To
R4670 PySONIC (old)
plot_gating_kinetics.py
View Options
# -*- coding: utf-8 -*-
# @Author: Theo Lemaire
# @Email: theo.lemaire@epfl.ch
# @Date: 2016-10-11 20:35:38
# @Last Modified by: Theo Lemaire
# @Last Modified time: 2020-06-26 16:11:03
''' Plot the voltage-dependent steady-states and time constants of activation and inactivation
gates of the different ionic currents involved in the neuron's membrane dynamics. '''
import
matplotlib.pyplot
as
plt
from
PySONIC.utils
import
logger
from
PySONIC.plt
import
plotGatingKinetics
from
PySONIC.parsers
import
Parser
def
main
():
parser
=
Parser
()
parser
.
addNeuron
()
parser
.
addYscale
()
# only for tau axis
parser
.
defaults
[
'neuron'
]
=
'RS'
parser
.
defaults
[
'yscale'
]
=
'lin'
args
=
parser
.
parse
()
logger
.
setLevel
(
args
[
'loglevel'
])
for
pneuron
in
args
[
'neuron'
]:
plotGatingKinetics
(
pneuron
,
tau_scale
=
args
[
'yscale'
])
plt
.
show
()
if
__name__
==
'__main__'
:
main
()
Event Timeline
Log In to Comment