ivoflipse / Pawlabeling

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

The new way of calculating the averages is borked #37

Closed ivoflipse closed 11 years ago

ivoflipse commented 11 years ago

Without changing the stored_results and simply calculating average results during the refactoring of the model I think something went terribly wrong:

image

I highly suspect the problem to be in the way I calculate the new version of average_data (and not the results widgets).

ivoflipse commented 11 years ago

Again a 'silly' mistake during the calculation of the average_data. Because the data doesn't know its own label (its stored in paw_labels), I had to combine these two values. But because paw_labels is a dictionary instead of a list, the values in it aren't in sorted order like the list is. Hence if you combine those without making sure you're combining the right elements, its basically one big lottery! Anyway, its working now, see:

image