User talk:Kithira/Course Pages/CSCI 12/Assignment 2/Group 2/Homework 4

In general, your program looks very good, however, there are some ways that it could be improved. First off, there don't seem to be any comments on your code. Those are important not only for yourself to remind yourself of what's going on when you look over your code, but more importantly, they are for other people who are not familiar with your program or what it does at all. If they do not have comments to look at, it will take much longer for them to figure out what is going on. As for your filter, I don't think it's a good idea to simply remove certain data points. This will make it so you have discontinuities which could be an issue. Instead, I suggest that you look at the values before and after the spike, average them, and then replace the spike with that averaged value. Other than that, your program looks efficient and functioning. Great work!