AEM 30-71XX Infinity Stand-Alone Programmable Engine Mangement System Full Manual User Manual
Page 67

Software
61
© 2014 AEM Performance Electronics
While using Infinity Tuner, these math functions may be used by using the shortcut key you
defined for that table_math_xx. The format should be as follows:
// Modify the current cell value(s) by 1%
table_math_00 = "z * 1.01"
table_math_01 = "z * 0.99"
// Modify the current cell value(s) by 10%
table_math_02 = "z * 1.1"
table_math_03 = "z * 0.9"
// Modify the current cell value(s) by 5%
table_math_04 = "z * 1.05"
table_math_05 = "z * 0.95"
// Modify the current cell value(s) by 1
table_math_06 = "z + 1"
table_math_07 = "z - 1"
// Modify the current cell value(s) by 10
table_math_08 = "z + 10"
table_math_09 = "z - 10"
// Smoothing using four neighboring cells (left, right, bottom, top)
table_math_10 = "0.8 * z + 0.2 * (cell(ix - 1, iy) + cell(ix + 1, iy) + cell(ix, iy - 1) + cell(ix, iy +
1)) / 4"
// Smoothing using eight neighboring cells
table_math_11 = "0.8 * z + 0.2 * (cell(ix - 1, iy) + cell(ix + 1, iy) + cell(ix, iy - 1) + cell(ix, iy +
1) + cell(ix - 1, iy - 1) + cell(ix + 1, iy + 1) + cell(ix + 1, iy - 1) + cell(ix - 1, iy + 1)) / 8"
// Simple interpolation fill in X direction for 2D Tables
table_math_12 = "cell(sl, iy) * (1 - sx / (sr - sl)) + cell(sr, iy) * (sx / (sr - sl))"
// Simple interpolation fill in Y direction for 2D Tables
table_math_13 = "cell(ix, sb) * (1 - sy / (st - sb)) + cell(ix, st) * (sy / (st - sb))"
// Two-way interpolation fill using only the selection area corners
table_math_14 = "cell(sl, sb) * (1 - sx / (sr - sl)) * (1 - sy / (st - sb)) + cell(sr, sb) * (sx / (sr -
sl)) * (1 - sy / (st - sb)) + cell(sl, st) * (1 - sx / (sr - sl)) * (sy / (st - sb)) + cell(sr, st) * (sx / (sr -
sl)) * (sy / (st - sb))"