Hi! I have scripted a simple moving average, but I need to work on the data (calculate the slope variation), so I want to save it to a data table. But how do I script that?
Ideas on how to calculate the slope are also welcome! What I'm thinking is to simply take the derivative as a lag (ds/dt=(time-lag(time,x)) / (position-lag(position,x))
