convnwb.timestamps.align.predict_times¶
- convnwb.timestamps.align.predict_times(times, intercept, coef)[source]¶
Predict times alignment from model coefficients.
- Parameters:
- times1d array
Timestamps to align.
- interceptfloat
Learned intercept of the model predicting differences between sync pulses.
- coeffloat
Learned coefficient of the model predicting differences between sync pulses.
- Returns:
- 1d array
Predicted times, after applying time alignment.