pypfilt.adaptive

pypfilt.adaptive.fit_effective_fraction(ctx, start, until)

Return a series of fits where each pass tunes the observation models to achieve a target effective particle fraction.

Parameters:
  • ctx (Context) – The simulation parameters.

  • start – The start of the simulation period.

  • until – The (exclusive) end of the simulation period.

Return type:

Dict[float, Result]

pypfilt.adaptive.fixed_exponents(ctx, start, until)

Return a series of fits where the likelihoods are raised to a fixed sequence of exponents.

Parameters:
  • ctx (Context) – The simulation parameters.

  • start – The start of the simulation period.

  • until – The (exclusive) end of the simulation period.

Return type:

Dict[float, Result]