I have an assignment on a time series that contains the x positions of a point in space. This series comes with another one of the same length, where every element goes from 0.0 to 1.0 and represents the accuracy of the measurement with the same index: 1 is perfect accuracy, while 0 is missing/completely garbage data.
I'm already doing linear interpolation on the points where the accuracy it's exactly 0, but afterwards I'm just using a median filter and a Gaussian filter, ignoring the accuracy values. I wonder, is there some kind of filter that can take into account the accuracy data and "smooth more" the series when the accuracy is lower (and the noise is higher)?