LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Gaussian fit, levenberg-marquardt & more

Labview 8.0

I am looking for a proper gaussian fit. Now I use the levenberg-marquardt algorithm to fit "a0*exp(-((x-a1)/a2)^2/2)+a3", but it is really slow. The Labview Gaussian Peak Fit is really fast but the "a3" offset is missing. I need this because we have a lot of background radiation, how can I solve this?

Thx for help,

    Bessymember
0 Kudos
Message 1 of 4
(2,102 Views)
This should be really fast using the VI model (It seems you are using the formula string model).
 
Attach some typical data and I give it a try.
0 Kudos
Message 2 of 4
(2,100 Views)
Also have a look at the shipping example "Fit sum of 3 gaussians with offset.vi". Start from there and simplfy it. 😄
Message 3 of 4
(2,094 Views)
thanks, also thought about that. i will give it a try.


0 Kudos
Message 4 of 4
(2,089 Views)