convnwb.timestamps.align.predict_times_model

convnwb.timestamps.align.predict_times_model(times, model)[source]

Predict times alignment from a model object.

Parameters:
times1d array

Timestamps to align.

modelLinearRegression

A model object, with a fit model predicting timestamp alignment.

Returns:
1d array

Predicted times, after applying time alignment.