06-26-2013 01:55 PM - edited 06-26-2013 02:36 PM
Just for completeness, heres how you would fit the data using the general linear filt, which assumes that only the amplitudes are unknown.
(There was a formula error in my previous version, whcih I have corrected above).
Also here, you can add more gaussians by simply adding rows to the array of clusters. As you can see, the fit is not great.
I also show the component spectra.
06-26-2013 03:39 PM
That is perfectly working now. Thank you very much. but is it possible to plot `data, best fit, the final gauss functions and original spectrum minus final gauss functions`` rather than ``data, best fit and guess´` ?
06-26-2013 04:01 PM
@zola1024 wrote:
but is it possible to plot `data, best fit, the final gauss functions and original spectrum minus final gauss functions`` rather than ``data, best fit and guess´` ?
Yes, everything is possible.
06-26-2013 04:15 PM - edited 06-26-2013 04:15 PM
06-28-2013 11:52 AM
Just on a sidenote, notice that my gaussians are normalized for unit height, independent of width. It would typically be more reasonable to normalize for unit area. It would be trivial to adjust the model function accordingly.
08-27-2013 06:43 AM
Hello,
would it be possible to convert your multiple gaussian fit vi to labview version 9.0.1.
Unfortunately i'm not able to open it.
Thanks in advance.
08-27-2013 08:21 AM
grimph1 wrote:would it be possible to convert your multiple gaussian fit vi to labview version 9.0.1.
Try this...
08-27-2013 08:55 AM
Thank you very much.
Unfortunately i receive an error code 3 concerning a problem while frontpanel is loaded.
Can you help ?
08-27-2013 09:23 AM - edited 08-27-2013 09:24 AM
Sorry, I have no way of testing the downconverted VI in LV2009. Also error 3 seems very odd. Did you extract the zip file first?
What is the full error message?
Here's another save, this time with slightly different options. See if this works better....