sentences:  where formula_3 is the local or instantaneous phase as can be calculated using the Hilbert transform and formula_1 are the local amplitude, or energy, of the signal.When all the phases are aligned, this is equal to 1.The square-wave example is naive in that most edge detection methods deal with it equally well.