[SciPy-User] Thin out data

Daπid davidmenhur at gmail.com
Fri Oct 25 03:29:45 EDT 2013


You could use binned_statistics, taking the average (mean, median...) over
certain window. This is, in my experience, more robust than using a spline
to smooth data.

In any case, your data seems to have suspicious patterns. Maybe you could
exploit them to get better measurements.

/David.


On 25 October 2013 08:40, flambert <franz_lambert_engel at yahoo.de> wrote:

> Hi,
>
> I've a little problem. With an industrial robot and a lasersensor I measure
> an edge. That works good, but if the robot stands still I get a higher
> measurement noise and a higher amount of "edge-points" in this sector. Here
> two images:
> <http://scipy-user.10969.n7.nabble.com/file/n18816/wholeEdge.png>
> <http://scipy-user.10969.n7.nabble.com/file/n18816/partOfEdge.png>
>
> In the image you can see that I try to insert an spline. But in the
> effected
> sector the spline is very bumpy. The data amount in this area is much
> higher
> then the data amount in the "normal" areas. Is there a good method to
> reduce
> the amount of data. I think if I solve this my spline would be smoother. I
> also tried to make the spline smoother by its own functions, but the result
> is that the spline becomes smoother in the effected area but will be nearly
> linear in the "normal" area.
>
> Thanks and regards,
>      franz
>
>
>
> --
> View this message in context:
> http://scipy-user.10969.n7.nabble.com/Thin-out-data-tp18816.html
> Sent from the Scipy-User mailing list archive at Nabble.com.
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20131025/854e941a/attachment.html>


More information about the SciPy-User mailing list