ivoflipse / Pawlabeling

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

Issue with average data #70

Closed ivoflipse closed 10 years ago

ivoflipse commented 10 years ago

Somehow it seems there is an issue with the way the average data is calculated:

image

image

ivoflipse commented 10 years ago

The second graph seems to indicate that its taking the sum over the wrong dimension, since the shape resembles the width of the foot in pixel counts.

ivoflipse commented 10 years ago

What's interesting though is that both widgets get their data from different functions. They both rely on data_list in model.py, but they don't share calculations

ivoflipse commented 10 years ago

The problem was caused by an error in contactmodel.convert_contour_to_slice, I forgot that looping over a dictionary's items doesn't mean you'll get a sorted list of frames. So I was processing each frame correctly, but in a somewhat random order.