How does the 'Smooth' function work?

Discuss anything TunerPro related.

Moderators: Mangus, robertisaar, dex

Post Reply
kj16v
Posts: 12
Joined: Wed Mar 31, 2010 12:38 pm

How does the 'Smooth' function work?

Post by kj16v »

Hi all. Could someone please explain to me how the 'Smooth' function works in the table editors? It's not explained in the Help file and I can't work it out. I'm sure it's all very simple but unfortunately so am I! :oops:
User avatar
EagleMark
Posts: 424
Joined: Mon Mar 22, 2010 11:11 am

Post by EagleMark »

Subscribed...
1990 Chevy Suburban
1994 Buick RoadMaSSter Estate Wagon LT1.
1972 IH 1210 Isky Cammed Balenced 345 TBI

GearHead-EFI.com EFI Conversions and Chip Tuners!
User avatar
Six_Shooter
Posts: 590
Joined: Sun May 06, 2007 7:32 am

Post by Six_Shooter »

Select the smooth option and input a value of 1 or less. This will change how much "smoothing" takes place.

This will blend all adjacent cells to be a smooth transition.
User avatar
EagleMark
Posts: 424
Joined: Mon Mar 22, 2010 11:11 am

Post by EagleMark »

Six_Shooter wrote:Select the smooth option and input a value of 1 or less. This will change how much "smoothing" takes place.

This will blend all adjacent cells to be a smooth transition.
Tried 1... fail... has to be 0 to .99 so the failure box says...
1990 Chevy Suburban
1994 Buick RoadMaSSter Estate Wagon LT1.
1972 IH 1210 Isky Cammed Balenced 345 TBI

GearHead-EFI.com EFI Conversions and Chip Tuners!
User avatar
Six_Shooter
Posts: 590
Joined: Sun May 06, 2007 7:32 am

Post by Six_Shooter »

My bad, it's been a long time since I've tried it. Thought it was up to 1, but .99 rounded is "1". :P lol

Honestly I haven't ran any tunes that I used the smooth function on, since I've always needed more tuning and I figure the smooth function would be a last use item. I just tried it a few times to see what it did.
kj16v
Posts: 12
Joined: Wed Mar 31, 2010 12:38 pm

Post by kj16v »

Six_Shooter wrote:Select the smooth option and input a value of 1 or less. This will change how much "smoothing" takes place.

This will blend all adjacent cells to be a smooth transition.
That's the way I would have thought it worked but the numbers it comes up with never seem to make sense (well, not to me anyway). I can't work out what maths TP uses to calculate the numbers.

For examplem I typed in:

10 10 10 10 100
10 10 10 10 100

I then hilighted the top row and smoothed by 0.1 and got this:
40.84 46.18 55.86 59.85 90.18
10 10 10 10 100
User avatar
EagleMark
Posts: 424
Joined: Mon Mar 22, 2010 11:11 am

Post by EagleMark »

I played with it a little since this post and can say it is not for doing the entire table or a row but only one cell at a time.
1990 Chevy Suburban
1994 Buick RoadMaSSter Estate Wagon LT1.
1972 IH 1210 Isky Cammed Balenced 345 TBI

GearHead-EFI.com EFI Conversions and Chip Tuners!
User avatar
Six_Shooter
Posts: 590
Joined: Sun May 06, 2007 7:32 am

Post by Six_Shooter »

Uhh, how can you "smooth" one cell?

This is for doing the entire table, or at least a large section, to have the transition between adjacent cells, well, "smooth" when looking at it in the 3D view makes this obvious.
User avatar
EagleMark
Posts: 424
Joined: Mon Mar 22, 2010 11:11 am

Post by EagleMark »

I don't know? that's why I'm here...

If you highlight one cell in Main VE table and set to smooth with a value of .1 it will change that cell to what seems to be middle of each cell on either side.

Now if you highlight say all cells in first row 400 rpm and smooth set to .1 then the entire row is smoothed but cell one (400 rpm 20 MAP) changes from 16. to 34. which is not good.
1990 Chevy Suburban
1994 Buick RoadMaSSter Estate Wagon LT1.
1972 IH 1210 Isky Cammed Balenced 345 TBI

GearHead-EFI.com EFI Conversions and Chip Tuners!
User avatar
Mangus
TunerPro Author
Posts: 1929
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

GlennEFI wrote:If you highlight one cell in Main VE table and set to smooth with a value of .1 it will change that cell to what seems to be middle of each cell on either side.
Exactly.

The closer to 1 that you get, the less smoothing will occur. It's a naive 4-pass smoothing algorithm that passes left to right, right to left, top to bottom, and bottom to top. Each pass looks at tthe previous cell relative to the direction it is traveling. Here's the math (where alpha is the number you enter in the box):

currentCell = (previousCell * alpha) + ((1.0 - alpha) * (previousCell))

currentCell becomes previousCell for the next row or column, so this is "chained" in effect to create the smoothed cells. Lower cells are lifted, higher cells are lowered. Over-smoothing results in a flat table.
***************************************
TunerPro Author
1989 Trans Am
User avatar
EagleMark
Posts: 424
Joined: Mon Mar 22, 2010 11:11 am

Post by EagleMark »

Sweet! I don't even Know what you just said? And I got it right! LOL

Any other tips on the smooth?
1990 Chevy Suburban
1994 Buick RoadMaSSter Estate Wagon LT1.
1972 IH 1210 Isky Cammed Balenced 345 TBI

GearHead-EFI.com EFI Conversions and Chip Tuners!
Post Reply