Skip to content

indexing issue in rts_smoother #265

Closed

Description

@mjsobrep

It looks like there is an indexing issue on the Fs:

Pp[k] = dot(dot(Fs[k+1], P[k]), Fs[k+1].T) + Qs[k+1]

I'm not sure why there are the k+1 indeces. I would expect this to be the same as the calculation of P in the forward pass:
self.P = self._alpha_sq * dot(dot(F, self.P), F.T) + Q

Comparing to the standalone smoother:

pP[k] = dot(dot(Fs[k], P[k]), Fs[k].T) + Qs[k]

the k+1 terms are not there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions