ThomasGutzler Posted December 16, 2014 Report Share Posted December 16, 2014 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: 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). What am I doing wrong? Quote Link to comment
Darin Posted December 16, 2014 Report Share Posted December 16, 2014 From squinting on my iPhone I can tell that your constant '2' should be sqrt(2). Looks good otherwise. Quote Link to comment
ThomasGutzler Posted December 16, 2014 Author Report Share Posted December 16, 2014 Oh, how embarrassing :/ Thanks Darin Quote Link to comment
Luiza Posted June 24, 2015 Report Share Posted June 24, 2015 Hello Thomas, would you mind to upload also a version of your program to a 2011 version? It would help me a lot! Thanks in advance!Luiza Quote Link to comment
infinitenothing Posted June 24, 2015 Report Share Posted June 24, 2015 Someone should make a internet drop box type app for conversion. Until then, there's always http://forums.ni.com/t5/Version-Conversion/bd-p/VersionConversion. I've taken it back to 2009. Quote Link to comment
ThomasGutzler Posted June 25, 2015 Author Report Share Posted June 25, 2015 Thanks for doing the conversion. Finally pays out to be in a GMT+10 time zone where we sleep while the forum is active Quote Link to comment
ShaunR Posted June 25, 2015 Report Share Posted June 25, 2015 Someone should make a internet drop box type app for conversion. Until then, there's always http://forums.ni.com/t5/Version-Conversion/bd-p/VersionConversion. I've taken it back to 2009. You didn't migrate make Darins change of replacing the "2" constant. The back-port has the original bug. Quote Link to comment
Yair Posted June 28, 2015 Report Share Posted June 28, 2015 (edited) Someone should make a internet drop box type app for conversion. Somewhat ironically, Darin did exactly that, although that's not public. There's also this - https://labviewhacker.com/revert/ (edit - which I see is floated in the conversion board you linked to). Edited June 28, 2015 by Yair Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.