LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

remove outliers or not just outliers but wrong data

Don,
 
I have coded this in LabVIEW a couple of times, but not while working here at NI, so I don't have the code any more.  Sorry Smiley Sad LabVIEW does include a downhill simplex (if you have the right version), but it is limited to text functions and this application is a data fitting issue.  The easiest way to approach this is to make copies of all the downhill simplex VIs from vi.lib and then replace all the function evaluations with your error evaluation (for lorentzian fit, log of the absolute value of the difference between the data and the model).  Optionally, you can write the algorithm from scratch using the Numerical Recipes code.
 
I checked the links again and the PDFs do open, albeit slowly on IE7.  You can try right-click, save, and open manually.
 
-Damien
0 Kudos
Message 11 of 12
(798 Views)
For a lot of good information on data smoothing - and a bunch of other good stuff - check out Tukey's book Exploratory Data Analysis (a.k.a "The Red Book").

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 12 of 12
(783 Views)