If I have multiple waves by the name of 'abc_01' to 'abc_10' and 'xyz_01' to 'xyz_10', is it possible to write a procedure to graph and fit (linear fit) abc_01 vs xyz_01, abc_02 vs xyz_02, and so on in one go to avoid running the same procedure for different fits?
It seems trivial but I am using procedures in Igor for the first time so any help would be greatly appreciated.
I am using the following basic code for one fitting. First I want to make a function which accepts two waves as an argument and does the exact same thing and secondly I want to include a loop so that it does the same thing for a number of waves (batch fitting).
Perhaps you are looking for the Batch Fit package. Analysis->Packages->Batch Curve Fit. The package was added relatively recently- if you don't find it you may need to update your Igor version: Help->Updates for Igor Pro x.xx.
Be sure to check out the demo: File->Example Experiments->Curve Fitting->Batch Curve Fit Demo.
February 21, 2016 at 12:02 am - Permalink
Be sure to check out the demo: File->Example Experiments->Curve Fitting->Batch Curve Fit Demo.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
February 22, 2016 at 12:26 pm - Permalink