You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function lag = estimate_delay(tr, "exp_decay", 0:100) can throw an error of the type
ERROR: The correlation function has elements that are ≤ 0. We can't fit an exponential to it. Please choose another method.
It is clear what it means (and the error can be avoided when using a shorter delay interval), but in my opinion it would be better to catch the situation where auto-correlation values could be negative and to truncate the auto-correlation function to the interval of positive values.
The function
lag = estimate_delay(tr, "exp_decay", 0:100)
can throw an error of the typeERROR: The correlation function has elements that are ≤ 0. We can't fit an exponential to it. Please choose another method.
It is clear what it means (and the error can be avoided when using a shorter delay interval), but in my opinion it would be better to catch the situation where auto-correlation values could be negative and to truncate the auto-correlation function to the interval of positive values.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: