Skip to content

Commit

Permalink
✨ we only want to interpolate, not extrapolate
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Kiggins committed Apr 24, 2018
1 parent 2b40976 commit e8b2b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neuroglia/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ def create_interpolator(t,y):
interpolator function that accepts a list of times
"""
interpolator = interpolate.InterpolatedUnivariateSpline(t, y)
interpolator = interpolate.interp1d(t, y, bounds_error=False)
return interpolator

0 comments on commit e8b2b22

Please sign in to comment.