ivoflipse / Pawlabeling

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

Updating n_max doesn't seem to affect the entireplate and paws widgets #41

Closed ivoflipse closed 11 years ago

ivoflipse commented 11 years ago

Here's an example of a contact where the n_max doesn't seem properly scaled.

image

Figure out what's wrong

ivoflipse commented 11 years ago

Right, its a little more difficult. n_max in this case is 11.5, all paws seem to have that updated value too, but the current paw has a max value of... 11.5, which apparently throws off my normalization

11.5 0 11.5 8.76666673024 1 11.5 5.40000009537 2 11.5 8.40000009537 3 11.5 6.96666653951 -1 11.5 11.5

ivoflipse commented 11 years ago

Ah! The problem seems to be the interpolation, which creates points which are artificially higher than we expect them to be. Guess I'll have to add some kind of regularization or scale it down proportionately.

ivoflipse commented 11 years ago

For now I've decided to just n_max with the max of the interpolated paw, if it occurs, which will make that paw's colors less pronounced, but at least won't negatively affect the other paws