pypomp.RWSigma.cosine_cooling¶
- RWSigma.cosine_cooling(c: float, M: int) RWSigma[source]¶
Return a copy of this instance using cosine annealing cooling.
The cooling factor at progress
p = (nt / ntimes + m) / Mis:\[\text{factor} = c + (1-c) \cdot 0.5 \cdot (1 + \cos(\pi p))\]- Parameters:
- Returns:
A new
RWSigmainstance with cosine cooling configured.- Return type: