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
In the line of code above, we calculate the feed_in_interval from the accumulated field at the moment this is the one-step-diff, i.e.
$$
feed : in : interval : i = accumfeed_i - accumfeed_{i-1}
$$
This produces nan at index i = 0. The question of the issue is what value to put in place of that nan.
I think that the correct value is accum_feed[0], because then it says that the first value in the accumulated feed vector, describes the feed during the first interval. Currently, we force this value to zero in the prepend=0. This has worked because all of our examples have accum_feed[0].
The text was updated successfully, but these errors were encountered:
pseudobatch/pseudobatch/data_correction.py
Line 133 in 8a11e15
In the line of code above, we calculate the feed_in_interval from the accumulated field at the moment this is the one-step-diff, i.e.
$$
feed : in : interval : i = accumfeed_i - accumfeed_{i-1}
$$
This produces nan at index i = 0. The question of the issue is what value to put in place of that nan.
I think that the correct value is
accum_feed[0]
, because then it says that the first value in the accumulated feed vector, describes the feed during the first interval. Currently, we force this value to zero in theprepend=0
. This has worked because all of our examples haveaccum_feed[0]
.The text was updated successfully, but these errors were encountered: