Activating analysis from script


Gammatech

Recommended Posts

Posted

Hi,

I have used the graph analysis tool to get the straight line (y=mx+c) regression coefficients from a scatter plot (XY) of two related data sets that I have in channels. Manually doing it is a bit of a grovel, entering the data ranges, and the output locations. Is there a way to run the analysis from script. I pop up a page with the graph and set the scales of the graph from script but can't seem to find how to get at the analysis functions or have I missed it?

Thanks,

Martin

Posted

No, most of the other advanced analysis tools are (see section 4.12.17), but not curve fitting. Linear fit is actually a pretty simple calculation. You might see if you can find an algorithm and just code it yourself.

Posted

OK, I'll put that in, the algorithm is straight forward. I checked my schoolboy recollections from the web - still the same after all these years!

Martin

Archived

This topic is now archived and is closed to further replies.