From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

gaussian fit with LevM

Solved!
Go to solution

Hi people,

 

I am actually programming a fitting programm. My idea is to calculate the amplitude and FWMH of an absorption peak.

 

The fit I would like to implement is gaussian+linear: a*exp(-0.5*(((x-b)/c)^2))+d*x+e with a,b,c,d,e as variables and x the X.

 

The problem is that my VI always gives me a "wrong model equation".

 

I'm not use to labview, could you please help me.

 

Félix

 

 

Download All
0 Kudos
Message 1 of 3
(2,620 Views)
Solution
Accepted by topic author felixd

Hi Félix,

 

take the Curve Fitting Express VI, the handling is much easier and you can test your initial values for your parameters on the fly (you have a preview window which shows you the impact of each parameter change)

 

Curve Fitting Express VI.png

 

Hope this helps!

 

Cheggers

Sascha
0 Kudos
Message 2 of 3
(2,564 Views)

Hi,

 

Sorry was in vacation, thanks for your help. It helps and I can move on a new improvment for my mini-soft.

Thanks

0 Kudos
Message 3 of 3
(2,537 Views)