added `diel_period()`