Time Series Forecasting, Fourier, Ensemble Method, Data Science, Signal Processing.
perfect sine shape — if it did, then only the P component would show in the periodogram. Never create Fourier components with a period shorter than twice the sampling period of your time series. If your time series has a daily sampling period, then the shortest seasonality you will ever be able to