Instantaneous phase and instantaneous frequency are important concepts in signal processing that occur in the context of the representation and analysis of time-varying functions. The instantaneous phase (or "local phase" or simply "phase") of a complex-valued function s(t), is the real-valued function:
where arg is the complex argument function.
And for a real-valued function s(t), it is determined from the function's analytic representation, sa(t):
When φ(t) is constrained to its principal value, either the interval (-π, π] or [0, 2π), it is called wrapped phase. Otherwise it is called unwrapped phase, which is a continuous function of argument t, assuming sa(t) is a continuous function of t. Unless otherwise indicated, the continuous form should be inferred.
where ω > 0.
In this simple sinusoidal example, the constant θ is also commonly referred to as phase or phase offset. φ(t) is a function of time; θ is not. In the next example, we also see that the phase offset of a real-valued sinusoid is ambiguous unless a reference (sin or cos) is specified. φ(t) is unambiguously defined.
where ω > 0.
In both examples the local maxima of s(t) correspond to φ(t) = 2πN for integer values of N. This has applications in the field of computer vision.
Instantaneous angular frequency is defined as:
and instantaneous (ordinary) frequency is defined as:
where φ(t) must be the unwrapped instantaneous phase angle. If φ(t) is wrapped, discontinuities in φ(t) will result in dirac delta impulses in f(t).
The inverse operation, which always unwraps phase, is:
This instantaneous frequency, ω(t), can be derived directly from the real and imaginary parts of sa(t), instead of the complex arg without concern of phase unwrapping.
2m1π and m2π are the integer multiples of π necessary to add to unwrap the phase. At values of time, t, where there is no change to integer m2, the derivative of φ(t) is