LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

remove Outliers vi

Hi Guys.

 

I'm trying to remove some outliers from my data. I have the "Remove Outliers.vi" but I don't really understand how to use it in the Range Setting.

 

Could somebody please explain , how does the "Range Input" work, so I can remove the Outliers from my data. Please take a look at the attached image.

 

Thanks in advance for your help.

 

Kind regards

 

 

0 Kudos
Message 1 of 3
(4,035 Views)

The LabVIEW help seems pretty clear on this one:

Range specifies the upper and lower bounds of the range. This VI removes data points that lie on or outside the bounds of Range. If range type is Y or X, this VI uses the first two elements in Range as the upper and lower bounds, respectively, for the given axis. If range type is X and Y, this VI uses the first and second elements in Range as the upper and lower bounds for the x-axis and the third and fourth elements in Range as the upper and lower bounds for the y-axis.

 

For your specific case, you may need to do some manipulation to better identify what you mean by outliers (i.e. you may want to first calculate a distance function away from your spline fit and then remove items with distance greater than a particular threshold.)

0 Kudos
Message 2 of 3
(4,008 Views)
The thing is, its pretty easy to remove values outside a given range. The tricky part can be deciding what the range should be. Are you looking to remove points that clearly indicate an error like a broken thermocouple, or are you looking to remove datapoints that are potentially reasonable values, but are statistical outliers?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

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

For help with grief and grieving.
0 Kudos
Message 3 of 3
(3,972 Views)