Igor's Blog

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] (38 downloads)


-i

, , ,
About — I'm an enthusiastic software engineer and consultant interested in many fields including J2EE, programming, electronics, 3D printing, video games, wood working and gardening.
See my Resume for more information.
The views expressed in this blog are my own and not those of my employer.
comments powered by Disqus
My other posts you may like...
Programming, DIY, Games, Hacks, Tech and more.
Follow me on...
Current and Past Projects
See my Resume

Subscribe


RSS Feed

My Other Web Sites

Igor and Elise's Travels
Riverside Expressway Cam
StrFunc() Online
300 George St Blogumentary
Guru JSON-RPC Tester
Extrudifier Object Designer

Recent Blog Posts

NeoOffice Viewer macOS Word Document viewer vs Preview and Microsoft Word

Importance of cleaning the internal fans and heatsinks in a MacBook Pro

Adding an email subscribe feature to your Blog with Blogtrottr

How to remove Google's logo from your G Suite applications

Pedestal fan transformed into a ceiling fan

Testing the Velvet WiFi Hotshot signal strength

Improving slow download speeds on the PS4 and PSN

Add batch image resize functionality to macOS using Automator

Show transfer percentage and speed when copying files in Linux and Bash

So I finally got to try eating some space food

Recent Galleries

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

DIY indoor apartment grow light wiring

Good Friday Electronics fun Easter Bunny LED PCB Kit IBEABU-01.0

Top Categories

Blogs I follow

Matt Moores Blog
Georgi's FlatPress Guide
Perplexing Permutations
The Security Sleuth

Friends

RAWS Parts Online
Alpha Dimensions Hosting
Kristensen Photography
Ilia Rogatchevski
Travelling Fairy

Blog Activity

Blog Activity
Please follow me on...