R/seasonality.R
get_seasonal_forcing.Rd
Convert Fourier coefficients into a smooth vector of daily seasonal forcing. Used within set_seasonality function.
get_seasonal_forcing(t, g0, g, h, floor = 0.001)
Day-of-year
Mean baseline coefficient
Cosine coefficients
Sine coefficients
Minimum permitted value of output