Skip to content

Commit

Permalink
Fix mv_reset misusage
Browse files Browse the repository at this point in the history
  • Loading branch information
jinPrelude authored Mar 27, 2024
1 parent 0d57091 commit c4236dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class LifNeuron:
self.tau = tau # tau
self.g = g # conductance, nanosiemens, nS

self.membrane_potential = self.mv_reset # 현재의 membrane potential을 저장할 변수를 추가하고, rest voltage로 초기화한다.
self.membrane_potential = self.mv_rest # 현재의 membrane potential을 저장할 변수를 추가하고, rest voltage로 초기화한다.

def step(self, input_current_pa = 0, dt = 0.001):
"""
Expand Down

0 comments on commit c4236dd

Please sign in to comment.