2020-12-25 23:39 阅读 0

Adaptive threshold

Hello everybody, I want help in writing the equation part in code using the Spike Response Model (SRM) and adaptive threshold. The threshold level is inversely proportional to the interspike interval between the current and the previous spike time, i.e., 1/(t_i - t_(i-1)). Thanks


  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

4条回答 默认 最新

  • weixin_39726044 weixin_39726044 2020-12-25 23:39

    [In the future, please direct questions or error reports where you are not sure whether it is "Brian's fault" to Brian's support mailing list (briansupport.com), we try to keep the github issues for bugs and feature requests.]

    You can use t to refer to the current time, and lastspike for the time of the last spike, so threshold='1/(t-lastspike)' should do what you want I think.

    点赞 评论 复制链接分享
  • weixin_39991935 weixin_39991935 2020-12-25 23:39

    thanks, I will forward my question there. whilst, I know the eqs. but the problem is in how to pass the spike times to it.

    点赞 评论 复制链接分享
  • weixin_39726044 weixin_39726044 2020-12-25 23:39

    I don't quite understand what you mean. What do you mean by "spike times"? If I understood your orginal question correctly,you only need the distance between the current time and the time of the last spike (i.e. t and lastspike) to define your adaptive threshold.

    点赞 评论 复制链接分享
  • weixin_39726044 weixin_39726044 2020-12-25 23:39

    I saw that you moved the question to the mailing list. I'm closing this issue and continue the discussion there.

    点赞 评论 复制链接分享