Exemplo n.º 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())
Exemplo n.º 2
0
 def getMechParams(self, mechanism):
     params = mechVarList()['mechs'][mechanism]
     return [value[:-(len(mechanism) + 1)] for value in params]