pypomp.panel.panel.PanelPomp.prune

PanelPomp.prune(n: int = 1, refill: bool = True)

Prune the parameter sets to the top n based on log-likelihoods stored in the PanelParameters object under theta.

Parameters:
  • n – Number of top parameter sets to keep.

  • refill – If True, repeat the top n parameter sets to match the previous number of replicates. If False, keep only the n sets.