pypomp.core.parameters.PompParameters.prune

PompParameters.prune(n: int = 1, refill: bool = True) None[source]

Replace internal parameter sets with the top n based on stored log-likelihoods.

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.