MATLAB code for decomposing a whisking bout into phase, amplitude, and offset using the Hilbert Transform.