Python filter with TemporalShiftScale not working correctly
I see very strange behavior when doing computations with the results from a temporal shift operator. I'm using the temporal shift operator to try to subtract the value of one frame from the next. To do this I apply the temporal shift scale operator with a scale of 1 and post shift of 1. I then use the following equation in my python filter
inputs should be the original data, and
inputs should be the shifted data.
When I initially apply the filters I get the expected result. However, if I advance the timestep the data immediately goes to zero. If I reapply the python filter, the numerical values return to the expected result.