-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extrapolate points in interpolate_over_time
?
#379
Comments
Thanks for raising this issue @lochhh, indeed extrapolation leads to some weird behaviours. One of them is just what you pointed out. Another I've witnessed occasionally is some really wild values being introduced at the edges (including negative pixel values). I think we should move away of hard-coding What do you think we should do? |
I would opt for |
Alright, I'll have a go at implementing a fix and tag you as reviewer. |
MWE:
Using
interpolate_over_time
, the expectation formax_gap=0
is that all NaNs are retained.However, the above outputs the following, with the first and last NaNs are filled:
The following excerpt from PR #116 explains why:
Originally posted by @niksirbi in #116 (review)
The text was updated successfully, but these errors were encountered: