def Get_r(self,Exc,Inh,Inh2soma,n_dend_each):
# Get rate from injection current
DendV = dend_IO(Exc, Inh)
MeanDendV = DendV.reshape(len(DendV)//n_dend_each,n_dend_each).mean(axis=1)
vSoma = -55 # Assume somatic voltage is around the reset, which is a good approximation
SomaR = soma_fI(self.gCouple*(MeanDendV-vSoma)-Inh2soma)
return SomaR
InterneuronalCircuit.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录