Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F73361553
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, Jul 20, 20:57
Size
808 B
Mime Type
text/x-python
Expires
Mon, Jul 22, 20:57 (2 d)
Engine
blob
Format
Raw Data
Handle
19191552
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: 2019-06-28 11:20:18
''' 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
.
defaults
[
'neuron'
]
=
'RS'
args
=
parser
.
parse
()
logger
.
setLevel
(
args
[
'loglevel'
])
for
pneuron
in
args
[
'neuron'
]:
plotGatingKinetics
(
pneuron
)
plt
.
show
()
if
__name__
==
'__main__'
:
main
()
Event Timeline
Log In to Comment