Almost-periodic functions in general are the exponential sums ∑aneiωnt with arbitrary real frequencies ωn (equivalently: functions whose Laplace transform has poles only on the imaginary axis, at any spacing).