B4X FEED Handy Median Filter With Side Salads

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Handy Median Filter With Side Salads است. این موضوع تا کنون 28 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Handy Median Filter With Side Salads
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
28
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi,

I am making a Shortt Free Pendulum clock and record the time error. When making changes to the tuning of the pendulum you must stop it from moving. This creates artifacts in the time data which are a nuisance when plotting trends. To get rid of these artifacts I made a median filter class with a variable window. I use a list as the window as this makes sorting a breeze. However a median filter is a blunt instrument so I added a couple of side salads.

The first of these applies exception limits to the data and whilst the data is within these limits the data is smoothed with a moving average of the window size.

The second one simply outputs the input when the data is within the exception limits, but if the data goes out side the limits the median filter is sued to produce the output.

I hope someone finds this useful.


برای دیدن تصاویر باید ثبت نام کنید


Best regards
Rob

 

عقب
بالا