示例#1
0
 def getAvailableMechs(self):
     mechs = mechVarList()['mechs']
     for key in list(mechs.keys()):
         if 'ion' in key: del mechs[key]
     for key in ["morphology", "capacitance", "extracellular"]:
         del mechs[key]
     return list(mechs.keys())
示例#2
0
 def getMechParams(self, mechanism):
     params = mechVarList()['mechs'][mechanism]
     return [value[:-(len(mechanism) + 1)] for value in params]