<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Module SYSTEM "file:/Repository/Level2/Soft/ProC/moduledef.dtd">
<module>
<intro>
<modulename name="linefit"/>
<author name="George Staikos"/>
<description text="Generates a line of best fit for a set of data."/>
<version minor="1" major="0"/>
<state devstate="release"/>
</intro>

<interface>
<input>
<table type="float" name="X Array" descr="The array of X coordinates." />
</input>
<input>
<table type="float" name="Y Array" descr="The array of Y coordinates." />
</input>

<output>
<table type="float" name="X Interpolated" descr="The array of X coordinates output.  This will be of size 2 to indicate the endpoints of the line." />
</output>
<output>
<table type="float" name="Y Interpolated" descr="The array of Y coordinates output.  This will be of size 2 to indicate the endpoints of the line." />
</output>
<output>
<float name="a" descr="The a value in the interpolation equation y = a + b*x." />
</output>
<output>
<float name="b" descr="The b value in the interpolation equation y = a + b*x." />
</output>
<output>
<float name="chi^2" descr="The chi-square result of the interpolation."/>
</output>
</interface>

<curvehints>
<hint name="Line of best fit" x="X Interpolated" y="Y Interpolated"/>
</curvehints>

</module>

