def METHOD_NAME(
    time,
    weekday_dummy_params,
) -> np.ndarray:
    """Generate a weekday seasonality component for a time series."""
    return np.array([weekday_dummy_params[t % 7] for t in time])