examples.test_mechanisms¶
test_mechanisms.py
This program displays the results of inserting NEURON mechaanisms from .mod files into a point cell to voltage steps in voltage clamp. This code is primarily for visual verification of model function.
Usage: python test_mechanisms.py <mechname>
Available mechanisms:
CaPCalyx bkpkj hcno hcnobo hpkj
ihpyr ihsgcApical ihsgcBasalMiddle ihvcn jsrna
ka kcnq kdpyr kht kif
kis klt kpkj kpkj2 kpkjslow
kpksk leak lkpkj na naRsg
nacn nacncoop nap napyr nav11
Note: only modfiles that implement voltage-dependent ion channel models make sense to run with this routine. the list “nottestablemechs” in the file defines mechanisms provided with cnmodel that cannot be run with this program.
-
class
examples.test_mechanisms.ChannelKinetics(args, export=False)[source] -
computeKinetics(ch)[source]
-
run(modfile='CaPCalyx', color='r', export=False)[source]
-
-
examples.test_mechanisms.getmechs()[source]