English

Optimal Calibration of the endpoint-corrected Hilbert Transform

Signal Processing 2026-01-21 v1 Systems and Control Systems and Control Neurons and Cognition Methodology

Abstract

Accurate, low-latency estimates of the instantaneous phase of oscillations are essential for closed-loop sensing and actuation, including (but not limited to) phase-locked neurostimulation and other real-time applications. The endpoint-corrected Hilbert transform (ecHT) reduces boundary artefacts of the Hilbert transform by applying a causal narrow-band filter to the analytic spectrum. This improves the phase estimate at the most recent sample. Despite its widespread empirical use, the systematic endpoint distortions of ecHT have lacked a principled, closed-form analysis. In this study, we derive the ecHT endpoint operator analytically and demonstrate that its output can be decomposed into a desired positive-frequency term (a deterministic complex gain that induces a calibratable amplitude/phase bias) and a residual leakage term setting an irreducible variance floor. This yields (i) an explicit characterisation and bounds for endpoint phase/amplitude error, (ii) a mean-squared-error-optimal scalar calibration (c-ecHT), and (iii) practical design rules relating window length, bandwidth/order, and centre-frequency mismatch to residual bias via an endpoint group delay. The resulting calibrated ecHT achieves near-zero mean phase error and remains computationally compatible with real-time pipelines. Code and analyses are provided at https://github.com/eosmers/cecHT.

Keywords

Cite

@article{arxiv.2601.13962,
  title  = {Optimal Calibration of the endpoint-corrected Hilbert Transform},
  author = {Eike Osmers and Dorothea Kolossa},
  journal= {arXiv preprint arXiv:2601.13962},
  year   = {2026}
}
R2 v1 2026-07-01T09:12:28.803Z