Quantcast
Channel: Filtering 1D numpy arrays in Python - Stack Overflow
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Filtering 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
Browsing all 2 articles
Browse latest View live




Latest Images