Igor's Blog
Programming, DIY, Games, Hacks, and Tech

When I added a bunch of fans to my TV unit I ended up collecting lots of temporal temperature change data that was quite 'noisy'. Statistics is not my strong point so I was looking at a quick and easy way of cleaning this up for plotting and settled on something that can be done in a few steps in Google Drive Sheets.

This approach will not work in all cases but did for me. The noise was due to the temperature sensor behaving strangely so all I really needed to do was ignore a bunch of data. My samples were 1 second apart originally and when plotted looked like this...
image-2.png


That wasn't ideal for me. To address this I created a new column and put the following formula into it, then filled that down all the way to match the number of data rows I had.
 Formula
=mod(row(), 60)


What this gives me is a counter that goes from 0-59 and then resets again and cycles like this all the way down my data.

After I had this additional column, I selected it and used the filter button to make it a filtered column.
gdrivesheet2.png




Pressing the filter icon on the column let me specify which values I wanted to see, so I selected 0, 15, 30 and 45. This roughly translated to 4 samples per minute now, instead of 60 i.e. a sample 15s apart. Effectively this reduced the resolution of my data but also had the side effect of filtering out lots of the noise.
gdrivesheet3.png


So now I was left with a subset of my original data...
drivesheet1.png



Creating a chart from this data meant the chart would only display the data that was not filtered out! With my subset of data the chart looked much cleaner!
image.png


There are statistically better ways of doing this kind of filtering, this one is just quick and easy and worked in my case. I wouldn't use it in all situations.



Matt has written an excellent follow up article to my post, so check it out - Haar wavelets in Google docs (and R).
I've also uploaded my original data set in case anyone is interested: ps4_fan_data_set.zip [22.76 Kb] (48 downloads)


-i

Please leave your comments or feedback below!
comments powered by Disqus
Other posts you may like...

Recent Blog Posts

How to enable the full stack trace in Maven's Surefire plugin for JUnit testing

Twelve elements of the Burst Mining Pool interface explained

TPG FTTB settings for the Billion BiPAC 8700AXL 1600 modem router

Protecting old Atari Lynx game boxes with snug fit plastic sleeves

How to fix SoapUI javax.net.ssl.SSLHandshakeException calling WebLogic 12.2 web services on Java 8

Woolworths (WOW) shares disappeared from Computer Share Investor Centre

Connecting the Dell UltraSharp U3415W monitor to a MacBookPro via USB-C

How to add/change PHP versions appearing in MAMP preferences

Fix the ORA-00904: ORA_ROWSCN: invalid identifier error in SQLDeveloper with a few easy steps

G Suite Gmail is broken on Safari due to new Google Content Security Policy settings

Recent Galleries

Protecting old Atari Lynx game boxes with snug fit plastic sleeves

Monument Valley 2 is released and does not disappoint

Space Food - Chocolate Ice Cream with Chocolate Chips

Legeod Star Wars AT-DP kit

DIY spare parts computer build with a RAIDMAX Anura case

Fake 'Lepin' brand Lego packaging

Hardwood garden bench with clear resin void filler

Fixing a 3D printer extruder that stopped heating up

Easily increase disk space in a Lenovo Ideapad 100S 14" laptop with an M.2 SSD

Making a multi-piece 3D printed solder spool holder stand

My Other Web Sites

Igor and Elise's Travels
Riverside Expressway Cam
300 George St Blogumentary

My Online Tools

UUID to OID Converter
Guru JSON-RPC Tester
Extrudifier Object Designer
Travel ┬ÁBlog

Blogs and Friends

Matt Moores Blog
Georgi's FlatPress Guide
Perplexing Permutations
The Security Sleuth
Ilia Rogatchevski
Travelling Fairy

Blog Activity

Blog Activity
Don't forget to
my Facebook page for more great articles!
Don't show this again