pypomp.core.parameters.PompParameters.prune¶ PompParameters.prune(n: int = 1, refill: bool = True) → None¶ Replace internal parameter sets with the top n based on stored log-likelihoods. Parameters: n – Number of top-performing parameter sets to keep. refill – If True, duplicate the top n sets to restore the original length.