Introduction

Schedule cheatsheet

Tutorials

Interface


API Reference

private _sindecay2function

SinDecay2(range, offset, period)
SinDecay2(;λ0, λ1, period)

A sine wave schedule with period and half the amplitude each cycle. The output conforms to

abs(λ0 - λ1) * Sin(t) / (2^floor((t - 1) / period)) + min(λ0, λ1)

where Sin(t) is abs(sin(π * (t - 1) / period)) (see Sin).

Arguments

  • range == abs(λ0 - λ1): the dynamic range (given by the endpoints)
  • offset == min(λ0, λ1): the offset / minimum value
  • period::Integer: the period