Working with analytic signals
, where
and
are the time-varying amplitude and phase of
the signal, respectively, we see that the initial phase
of the signal simply factors out as a constant phase in the Fourier
domain and we can maximize over this initial phase by simply taking the absolute value of the scalar product of a template
with a signal.