pypfilt.event

class pypfilt.event.BeforeReweight(context: Context, snapshot: Snapshot, time_step: TimeStep, log_llhds: numpy.ndarray)

The particle states before being reweighted.

Parameters
  • context (Context) – The simulation context.

  • snapshot (Snapshot) – The current particle states.

  • time_step (TimeStep) – The current time-step.

  • log_llhds (np.ndarray) – The log-likelihoods for the current observations.

class pypfilt.event.Resampled(context: Context, snapshot: Snapshot, time_step: TimeStep)

The particle states after being resampled.

Parameters
  • context (Context) – The simulation context.

  • snapshot (Snapshot) – The current particle states.

  • time_step (TimeStep) – The current time-step.