def predict_times_model(times, model):
    """Predict times alignment from a model object.

    Parameters
    ----------
    times : 1d array
        Timestamps to align.
    model : LinearRegression
        A model object, with a fit model predicting timestamp alignment.

    Returns
    -------
    1d array
        Predicted times, after applying time alignment.
    """

    return model.predict(times.reshape(-1, 1))