Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple peak fit

I try to use analysis.math.curvefit.polynomialfit to fit my dataset.

If there is only one peak in the dataset.  It works well as figure "single.jpg". (Red line is the results of after fitting)

ps. I use the data points is about half width of my peak and use QR as fit algorithm.

 

But, if I try use the same fitting parameters to the dataset which contained multiple peaks, the results shown in figure "multi.jpg".

As the results, fitting is not well.

 

However, if I use analysis.monitoring.peakdetector function, I do get reasonable results in peak position and peak height.

According to your description in the help on msdn.  Peakdetector is used "quardratic polynomial to sequential groups of data points".

 

Does it possible to get  processed dataset from "PeakDetector"? or Is there any alternative build-in function to meet this request?

 

Thanks a lot.

Download All
0 Kudos
Message 1 of 3
(5,752 Views)

Hi,

 

Have you looked at the peak detector  example project that installs with measurement studio?

 

......\DotNET\Examples\Analysis\PeakDetector

 

I had some similar data a while back and was successful at modifying that code to fit my needs.

You'll have to play around with the peak threshold values and the peak width values to adapt it to your data.

 

good luck

 

Curt

 

 

peakdetector.JPG

0 Kudos
Message 2 of 3
(5,734 Views)

Hello Curt,

 

Thanks for your reply.  I know the function of "PeakDetect" and it works well in my plot.  I mentioned it in my first post.

I hope to get the peak area and baseline of the peak.  There are some ways could do.

But, seems "PeakDetect" could get peak height for all peaks, it must fit and get baseline information during the process.

If it is true, I hope there is some build-in function in Measurement Studio could provide all information from "PeakDetect".

Then, I don't need to write the code to handle that.

 

Tanks a lot,

Steven

0 Kudos
Message 3 of 3
(5,715 Views)