LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Gaussian Peak Fit for Wavelength Spectrum

Hello.....

 

First, let me confess to being a relative noob..... So please be gentle.

 

I am trying to create a vi to analyse an optical spectrum of the form: Intensity vs. Wavelength. This vi would need to do the following:

 

1: Read the input data file.

 

2: Set a noise floor, below which all data will be ignored. 

 

3: Scan the spectrum and identify the amplitude, width, and center of any peaks that are above the noise floor. There will be multiple peaks present (as many as thirty or so).

 

5: Fit a gaussian to each peak.

 

6: Sum the gaussians and create a new data file from this sum.

 

 

 

So..... I know what I want to do, just not the best way to do it. Is there a vi already in labview that will do this for me? The Gaussian fit vi seems only really useful if you want to fit a curve to a single peak. If I need to build this from the ground up, which is fine since I need the practice anyway, what would be the best way to start?

 

Thanks in advance for any help.

 

nia

0 Kudos
Message 1 of 3
(3,072 Views)

Still looking....

 

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

Hello Nia,

 

There are many ways to approach this problem. By chance, do you have access to the sound and vibration toolkit for labVIEW (http://sine.ni.com/nips/cds/view/p/lang/en/nid/209056)? That toolkit will make performing the signal processing tools which will make creating this VI much easier. The following links may also be helpful for getting started with your issue

 

http://zone.ni.com/reference/en-XX/help/371361J-01/glang/file_vis_and_functions/
http://zone.ni.com/devzone/cda/epd/p/id/5742
http://zone.ni.com/reference/en-XX/help/371361J-01/lvanls/signal_processing_vis/
https://decibel.ni.com/content/docs/DOC-4475
https://decibel.ni.com/content/docs/DOC-17986
http://zone.ni.com/reference/en-XX/help/371361H-01/gmath/gaussian_peak_fit/

 

Thanks

Doug W

Applications Engineer

Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,035 Views)