Export data for Gaussian fits
Konstantinos Chatzipanagis
I am fitting two overlapping peaks using a linear baseline.....Is there a way to export the raw data of the Gaussian curves? I mean in some kind of txt form in two columns presumably (wavenumber,counts).
Thanks
setscale x 0, 100, wGauss
wGauss= gauss(x, 50, 10)
edit wGauss.id // show x,y data in table
SaveTableCopy/T=2 //save the table, here as *.csv
another way would be to use
wfprintf
orsave
to create delimited files.March 11, 2016 at 05:31 am - Permalink
March 11, 2016 at 06:53 am - Permalink
If you double-click the blue curve on the graph, you'll get the Modify Trace Appearance window. Click and hold on the highlighted trace on the left side. In the bottom part of the window the path to the wave will appear. The wave will be named "fit_NameOfYourFittedWave" and it will be located (I think) in a subfolder of the Packages->MultiPeakFit2 folder (Make sure you always use the Data Browser).
March 11, 2016 at 07:29 am - Permalink
March 14, 2016 at 02:32 am - Permalink
My guess is that "Fit Curve Points" (under Options on the Multi-Peak fit panel) is set to "Auto", which is why you end up with different lengths. Just a side note: you are not looking at a e.g.94x2 array but at a scaled 1D wave. This an important difference. Have a look at:
DisplayHelpTopic "The Waveform Model of Data"
Why not just adding them up in Igor?
March 14, 2016 at 04:31 am - Permalink
March 14, 2016 at 05:28 am - Permalink