Jump to content

How to correctly use the outputs of Gaussian Peak Fit?


Recommended Posts

I use the Gaussian Peak Fit.vi on data with very few points.

To get an idea of what the fitted curve looks like and to double check how well it performed, I wrote some extra code that is using the outputs of the vi to generate a nice curve with a few more (say 100) points on the x axis. Then I display the original data, the "Best Gaussian Fit" output and the curve calculated from the output parameters on the same graph:

post-28303-0-06797200-1418690195_thumb.p

I expected the four points of the red curve to be exactly on top of the green curve - but they're not.

Here's the block diagram (also attached as LV2012 VI: GaussFit.vi).

post-28303-0-42112100-1418690381_thumb.p

What am I doing wrong?

Link to comment
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.