ivoflipse / Pawlabeling

Tool for processing and analyzing pressure measurements
Other
18 stars 1 forks source link

The results are broken! #77

Closed ivoflipse closed 10 years ago

ivoflipse commented 10 years ago

All the changes I've made seem to have broken the results. The Pressure and Force tabs have no results and the COP seems totally messed up. I'm fairly confident this has something to do with the sensor_surface.

image

ivoflipse commented 10 years ago

The problem was caused by some change in how I calculated the average. I thought it would be handy if I padded the z axes too, so the force and pressure curves would all start at 0. But obviously that means COP starts at zero too and then it inserts 0, 0. I haven't tried to see what it does if I insert NaN instead and try to plot that, but for now I've changed the calculation back and made sure that the COP is calculated until the last active frame (since the length is scaled to the longest contact).