Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67048

How to fit multiple guassian peaks ?

$
0
0

Hi,

I have a  two column data set (x,y) that contain large number of Gaussian peaks ( several hundredes infact). You can think of it more like a wavelength spectrum. The number of spectral peaks is not known exactly. There is no problem in detecting the peaks as they are of same amplitude. Eventually I want to fit a Gaussian funtion to each of these spectral  peak and obtain the the parameters  such as  amplitude, line-center and sigma.  This seems a somewhat tricky in LabVIEW. There is an example ( Sum of 3 Gaussian with offset) that comes bundled with LabVIEW. This example VI however uses a static refrence to a model function which is sum of three gaussian curves.  This works well for few number of peaks in the data. If we have large number of peaks ( e.g spectroscopy data) then creating such a model function for a large number of peaks is nealy  impractical.  Is there a  better way to handle  such peak-fitting problems in LabVIEW? Would greatly appreciate if someone could point out any existing  LV code/library function.

Regards,

RK


Viewing all articles
Browse latest Browse all 67048

Trending Articles