Answer by Paul Panzer for Filtering 1D numpy arrays in Python
One way to get something looking close to your ideal would be clustering + linear regression.Note that you have to provide the number of clusters and I also cheated a bit in scaling up y before...
View ArticleFiltering 1D numpy arrays in Python
Explanation:I have two numpy arrays: dataX and dataY, and I am trying to filter each array to reduce the noise. The image shown below shows the actual input data (blue dots) and an example of what I...
View Article
More Pages to Explore .....