User:The Lamb of God/sandbox-MRTD

Manual test
An operator uses a series of 4-bar targets of different spatial frequencies. For each target he/she adjusts the blackbody, (source of Infrared radiation), temperature up and down untill the pattern is "just resolvable." The positive and negative temperature differences are inputed into a two dimensional array. The corresponding spatial frequencies used in each test are also inputed into an array. The MRTD curve is a plot of these arrays (just resolvable temperature difference versus target spatial frequency). From the experimental MRTD curve, a general polynomial best fit is calculated and the result of the MRTD polynomial best fit is found.

Calculations
$$F(x) = \frac{\Delta\,t(i)}{f_s(i)}$$
 * $$\Delta\,t(i)$$ = array of just resolvable temperature differences
 * $$f_s(i)\,\!$$ = array of spatial frequences
 * $$F(x)\,\!$$ = MRTD curve

MRTD polynomial best fit
$$f_i = \sum_{j=0}^{m-1} a_j x_i^j \qquad \qquad $$
 * $$f\,\!$$ = output sequence best fit
 * $$x\,\!$$ = input array of X values
 * $$a_j\,\!$$ = best fit polynomial coefficients
 * $$m\,\!$$ = polynomial order
 * $$y\,\!$$ = input array of Y values
 * $$n\,\!$$ = number of data points