Controlling erratic values

May 9, 2009 at 4:11pm

Controlling erratic values

Hi.

Can anyone tell me what the object is called that monitors a stream of data and excludes any values that are ‘erratic’ based on set limits?

Cheers all

#43747
May 9, 2009 at 4:32pm

Depends on what you mean by monitoring a stream of data, but for integers and floats, ‘split’ does this within user-set minimum/maximum limits. There’s also maximum and minimum. You can also use ‘if then’ statements(although it will show up as a having a bad expression, type ‘if then’ in a new object then click help-file), and you can also set up your own network of ‘< ', '>‘, ‘==’, ‘< =', and '=>‘ objects. For signals, there’s the signal versions of the comparison ops(‘< ~', etc.) or also maximum~ and minimum~. (You can also use thresh~ in tandem with sah~.)

#157110
May 9, 2009 at 6:12pm

There’s an object called [lbyl] (look before you leap) that’s available for download from the link below. It can be used to ignore values that jump too far unless they are repeated a certain number of times. You might find it useful.

lh

http://cnmat.berkeley.edu/downloads

#157111
May 9, 2009 at 6:58pm

Ahh yes that’s what I was looking for. Forgot that it was a CNMAT object.

Thanks!

#157112
May 10, 2009 at 4:35pm

another useful object for this type of thing is “slide”.

#157113

You must be logged in to reply to this topic.