Originally Posted by
Puggyberra
There may be a more 'correct' way to do this, but my method is weighting the correction factor the same as the mapped point. For instance if your load correction is lets say 0.2 and you are using mapped points 3 and 4, with 3 being 40% and 4 being 60% i would multiply that .2 * .4 and .2 * .6, then apply the weighted correction into each mapped point. Generally I do a flat cut off somewhere around 20% where I stop weighting (ie: if its 82% and 18% I'd do the entire correction to the mapped point at 82%).
Theoretically this method has inaccuracy in it, after all your entire error could be coming from mapped point 3 while mapped point 4 is dead on... but that's going to be pretty uncommon because in that case mapped point 3 would have to be off by a larger margin. This isn't necessarily a hard and fast rule, and you can play around with the numbers as you see fit. For instance if your values are always dead on until mapped point 3 is activated you could do the same weighted correction, but only apply it to mapped point 3 assuming the entire error is in that mapped point. If you wanted to attempt a 'one shot' fix then you'd have to multiply your correction factor by the inverse so that when it is only weighted 40% it applies the appropriate correction, but doing such a drastic change could cause you to overshoot and chase around a bouncing number.
Hopefully this helps some and good luck getting it nailed down, thanks for posting your progress so far for others to learn off of.