Chapter III: The Mode Decomposition Problem
3.3 Extensions and further approaches
using the second-order synchrosqueezing transform [11, 94]. In this extension of SST,π
π‘ π
π£ is used in conjunction withπ
π
π£ to generate a reassignment of both time and frequency in the synchrosqueezing of the CWT (or analogously for the STFT).
This can be taken further in the higher-order synchrosqueezing transform [107]
whereπ
π‘ππ
π£ orπ
π‘ππ
π£ are used to obtainπ-th order reallocation estimates.
C h a p t e r 4
ITERATED MICRO-LOCAL KERNEL MODE DECOMPOSITION FOR KNOWN BASE WAVEFORMS
This chapter will introduce iterated micro-local kernel mode decomposition (KMD) [102, Sec. 8], which is a GP-inspired approach to the mode decomposition problem, i.e., Prob.7. We present its adaptability to address generalizations such as possibly unknown, non-trigonometric waveforms and modes with crossing frequencies or vanishing amplitudes. The method borrows the sequential peeling of modes from EMD and uses a variant of the SST to identify mode frequencies. We will present the methodology behind mode identification and estimation by introducing the algorithm in the context of mode recovery with known waveforms as in Problem8.
Problem 8. For π βNβ, letπ1, . . . , ππ be piecewise smooth functions on [β1,1], let π1, . . . , ππ be strictly increasing functions on [β1,1], and let π¦ be a square- integrable2π-periodic function. Assume thatπand theππ, ππare unknown and the base waveform π¦ is known. We further assume that, for some π > 0, ππ(π‘) > π and that πΒ€π(π‘)/ Β€ππ(π‘) β [1βπ ,1+π] for allπ, π , π‘. Given the observation π£(π‘) = Γπ
π=1ππ(π‘)π¦ ππ(π‘)
(forπ‘ β [β1,1]) recover the modesπ£π :=ππ(π‘)π¦ ππ(π‘) .
Figure 4.1: [102, Fig. 23], (1) triangle base waveform (2) EKG base waveform.
Figure 4.2: [102, Fig. 24], triangle base waveform: (1) Signal π£ (2) Instantaneous frequenciesππ :=πΒ€π(3) Amplitudesππ (4, 5, 6) Modesπ£1,π£2, π£3.
Figure 4.3: [102, Fig. 25], EKG base waveform: (1) Signal π£ (2) Instantaneous frequenciesππ :=πΒ€π(3) Amplitudesππ(4, 5, 6) Modesπ£1,π£2, π£3.
Example 4.0.1. Figure4.1shows two full periods of two2π-periodic base waveforms (triangle and EKG), which we will use in our numerical experiments/illustrations.
The EKG (-like) waveform is π¦πΈ πΎ πΊ(π‘) β (2π)β1β«2π
0 π¦πΈ πΎ πΊ(π )ππ
/kπ¦πΈ πΎ πΊkπΏ2( [0,2π))
withπ¦πΈ πΎ πΊ(π‘)defined on[0,2π)as (1)0.3β|π‘βπ|for|π‘βπ| <0.3(2)0.03 cos2( π
0.6(π‘β π +1))for |π‘ βπ+1| < 0.3(3)0.03 cos2( π
0.6(π‘βπβ1))for |π‘βπβ1| < 0.3and (4)0otherwise.
To aid in the exposition, we present the algorithm as a network assembled with elementary modules. Our approach is summarized in Algorithm3 and explained in the following sections. The algorithm iterates modules described in (1) to (3) to estimate each mode, π£π β π£π,π. We denote π£(π) = π£ βπ£1,π β Β· Β· Β· βπ£πβ1,π as signalπ£ after the firstπβ1 mode estimates are peeled. Beginning withπ = 0 andπ£(0) = π£, the algorithm proceeds as follows:
1. Use the max-pool energyS(4.1.6) to obtain an estimate of the instantaneous phase and frequency, πlow(π£(π)) and πlow(π£(π)) associated with the lowest instantaneous frequency (as described in Section4.1).
2. Iterate amicro-localKMD (presented in Section4.2) of the signalπ£(π)to obtain a highly accurate estimate of the phase/amplitudeππ, ππof their corresponding mode π£π for all π β€ π (this iteration can achieve near machine-precision accuracies when the instantaneous frequencies are separated).
3. Peel off the modeπ£πfromπ£(π), i.e.,π£(π+1) =π£(π)βπ£πand update indexπ βπ+1.
4. Iterate 1-3 to obtain all the modes.
5. Perform a last micro-local KMD of the signal for higher accuracy.
To illustrate this approach we will apply it to the signalsπ£displayed in Figures4.2 and4.3, where the modes of Figure 4.2 are triangular and those of Figure4.3 are EKG.
4.1 Max-pooling and the lowest instantaneous frequency
We will now present a variant of the SST [24] used for identifying mode frequencies.
It will be applied in a module identifying the phase and instantaneous frequency of the lowest frequency mode [102, Sec. 8.2]. Begin by defining wavelets
ππ,π,π(π‘) := 2 π
14r π πΌ
cos(π(π‘βπ))πβ
π2(π‘βπ)2
πΌ2 , π‘ βR,
ππ,π,π (π‘) :=
2 π
14r π πΌ
sin(π(π‘βπ))πβ
π2(π‘βπ)2
πΌ2 , π‘ βR, (4.1.1) as well as complex waveletππ,π(π‘)= ππ,π,π(π‘) βπ ππ,π,π (π‘). Note thatπindicates the time of the center of the wavelet within [β1,1] while π represents the frequency.
Then the continuous wavelet transform (CWT) as in [24] of signal π at (π, π) is defined as
π(π, π, π) :=
β« 1
β1
ππ,π(π‘)π(π‘)π π‘ . (4.1.2)
We further define cosine and sine analogues of the CWT as ππ(π, π, π) :=
β« 1 0
ππ,π,π(π‘)π(π‘)π π‘ ππ (π, π, π) :=
β« 1 0
ππ,π,π (π‘)π(π‘)π π‘ . (4.1.3)
The energy of the signal in (π, π)-space is then defined by
πΈ(π, π, π) :=|π(π, π, π) |2. (4.1.4) Mimicking the instantaneous phase and frequency estimation in SST, we define
ππ(π, π, π) := phase(π(π, π, π)) ππ(π, π, π) := π ππ
π π
(π, π, π). (4.1.5)
We introduce the max-pool energy
S (π, π, π) = max
π0:ππ(π,π0)=π
πΈ(π, π0, π) (4.1.6) as a variant of the SST which avoids the dependence on the choice of measure, as in the remark of [24, Eq. 2.7]. This max-squeezing can also be interpreted in an additive-kernel setting with further details, illustrations, and comparisons to SST in [102, Sec. 4].
This calculation of signal energy in (π, π)-space is then used to design modules which take the signal as input and return an estimate of the instantaneous phase and frequency of the lowest-frequency mode, πlow(π) and πlow(π). Note that both of the outputs are[β1,1] βRfunctions. We restrict our presentation to the situation where the instantaneous frequenciesπΒ€π do not cross each other. The main steps of the computation performed by this module are as follows. Let S (π, π, π) be the max-pool energy defined as in (4.1.6). Then, let π΄low be defined to be a subset of the time-frequency domain(π, π)identified (as in Figure4.4.2) as a narrow sausage band around the lowest instantaneous frequency defined by the local maxima of the S (π, π, π). If no modes can be detected (above a given threshold) in S (π, π, π) then we setπlow(π) =β . Otherwise, we let
πlow(π) (π) :=ππ π,argmaxπ:(π,π)βπ΄lowS (π, π, π)
(4.1.7) be the estimated instantaneous frequency of the mode having the lowest instanta- neous frequency and, withππdefined as in (4.1.5), let
πlow(π) (π):=ππ(π, πlow(π) (π), π) (4.1.8)
Figure 4.4: [102, Fig. 26], max-squeezing with the EKG base waveform and deriva- tion of the instantaneous phase estimates ππ,π. (1,2) (π, π) β S (π, π, π£) and identification ofπ΄low (3, 4)(π, π) β S (π, π, π£βπ£1,π)and identification of its π΄low (5,6) (π, π) β S (π, π, π£βπ£1,π βπ£2,π) and identification of itsπ΄low.
be the corresponding estimated instantaneous phase. Notationally, we sometimes leave out π and writeπlow orπlowwhen unambiguous.
4.2 The micro-local KMD module
We will now present the micro-local KMD module [102, Sec. 8.1], which will estimate amplitudes and refine SST phase estimates. As input, it takes a timeπ, an estimated phase function of a modeππ, and signal π. Suppose the lowest frequency mode of π is of form π£low(π‘) = πlow(π‘)π¦(πlow(π‘)), and its phase is estimated as πlow,π. The module outputs an estimate π(π, πlow,π, π) of the amplitude πlow(π) of the mode π£π and a correction πΏπ(π, πlow,π, π) determining an updated estimate πlow,π(π) +πΏπ(π, πlow,π, π) of the estimated mode phase functionπlow,π.
SupposingπΌ >0,π β [β1,1], andπ β {0, . . . , π}, letππ,ππ
π,π andππ,ππ
π,π be the wavelets defined by
ππ,ππ
π,π (π‘) := cos(ππ(π‘)) (π‘βπ)ππβ
ππΒ€(π) (π‘βπ) πΌ
2
ππ,ππ
π,π (π‘) := sin(ππ(π‘)) (π‘βπ)ππβ
ππ(Β€ π) (π‘βπ) πΌ
2
, (4.2.1)
and letππ,π
π be the Gaussian process defined by ππ,π
π(π‘) :=
π
Γ
π=0
ππ,πππ,ππ
π,π (π‘) +ππ,π ππ,ππ
π,π (π‘)
, (4.2.2)
where ππ,π, ππ,π βΌ N (0,1) are IID random variables. Let ππ be the Gaussian windowed signal defined by
ππ(π‘) =πβ
ππΒ€ (π) (π‘βπ) πΌ
2
π(π‘), π‘ β [β1,1], (4.2.3) and, for(π, π) β {0, . . . , π} Γ {π, π }, let
ππ, π(π, ππ, π) :=lim
πβ0E ππ, π
ππ,π
π +ππ = ππ
, (4.2.4)
whereππ is white noise, independent ofππ,π
π, with varianceπ2. To compute ππ, π, observe that since bothππ,π
π andππare Gaussian fields, it follows from (1.4.1) that E
ππ,π
π
ππ,π
π +ππ
= π΄π(ππ,π
π +ππ) for the linear mapping
π΄π =ππ,π
π ππ,π
π +π2πΌβ1
, where ππ,π
π : πΏ2 β πΏ2 is the covariance operator of the Gaussian field ππ,π
π
and π2πΌ is the covariance operator of ππ. Using the characterization of the limit of Tikhonov regularization as the Moore-Penrose inverse, see, e. g., Barata and Hussein [8, Thm. 4.3], along with the orthogonal projections connected with the Moore-Penrose inverse, we conclude that limπβ0π΄π = π
ππ , ππ, where π
ππ , ππ is the πΏ2-orthogonal projection onto the span ππ,ππ := span{ππ,ππ,ππ, ππ,π π,ππ : π =0, . . . , π}, and therefore
πβ0lim E ππ,π
π
ππ,π
π+ππ
=π
ππ , ππ(ππ,π
π +ππ). (4.2.5) Since the definition (4.2.2) can be written ππ,π
π = Γ
π, π ππ, πππ,ππ
π, π , summing (4.2.4) and using (4.2.5), we obtain
Γ
π, π
ππ, π(π, ππ, π)ππ,ππ
π, π (π‘) =π
ππ , ππ ππ(π‘), π‘ β [β1,1]. (4.2.6) Consider the vector function π(π, ππ, π) β R2π+2 with components ππ, π(π, ππ, π), the 2π+2 dimensional Gaussian random vector π with components ππ, π,(π, π) β {0, . . . , π} Γ {π, π }, and the(2π+2) Γ (2π+2) matrix π΄π,ππ defined by
π΄
π,ππ
(π, π),(π0, π0) :=hπ
π,ππ π, π , π
π,ππ
π0, π0iπΏ2[β1,1]. (4.2.7) Straightforward linear algebra along with (4.2.6) establish that the vectorπ(π, ππ, π) can be computed as the solution of the linear system
π΄π,πππ(π, ππ, π) =ππ,ππ(π), (4.2.8)
whereππ,ππ(π) is theR2π+2vector with componentsππ,ππ
π, π (π) := hππ,ππ
π, π , ππiπΏ2. See sub-figures (1) and (2) of both the top and bottom of Figure4.5for illustrations of the windowed signal ππ(π‘) and of its projection limπβ0E
ππ,π
π
ππ,π
π +ππ = ππ
in (4.2.5) corresponding to the signals π displayed in Figures4.2and4.3.
To apply these formulations to construct the module, suppose that the signal is a single mode
π(π‘) =π(π‘)cos(π(π‘)), so that
ππ(π‘) =πβ
ππΒ€(π) (π‘βπ) πΌ
2
π(π‘)cos(π(π‘)), (4.2.9) and consider the modified function
Β―
ππ(π‘) =πβ
ππΒ€ (π) (π‘βπ) πΌ
2 Γπ
π=0
π(π)(π)
π! (π‘βπ)π
!
cos(π(π‘)) (4.2.10) obtained by replacing the function π with the firstπ +1 terms of its Taylor series about π. In what follows, we will use the expression β to articulate an informal approximation analysis. It is clear that Β―ππ β ππ,ππ and, since Β€πΌ
π0(π) is small, that hππ,ππ
π, π , ππ β πΒ―πiπΏ2 β 0,β(π, π) and therefore π
ππ , ππππ β πΒ―π, and therefore (4.2.6) implies that
Γ
π0
π0, π0(π, ππ, π)π
π,ππ
0, π0 (π‘) β πΒ―π(π‘), π‘ β [β1,1], (4.2.11) which by (4.2.10) implies that
Γ
π0
π0, π0(π, ππ, π)ππ,ππ
0, π0(π‘) βπβ
ππΒ€ (π) (π‘βπ) πΌ
2
π(π)cos(π(π‘)), π‘ β π , (4.2.12) which implies that
π0,π(π, ππ, π)cos(ππ(π‘)) +π0,π (π, ππ, π)sin(ππ(π‘)) βπ(π)cos(π(π‘)), π‘ β π . (4.2.13) SettingππΏ :=πβππas the approximation error, using the cosine summation formula, we obtain
π0,π(π, ππ, π)cos(ππ(π‘)) +π0,π (π, ππ, π)sin(ππ(π‘)) β π(π) cos(ππΏ(π‘))cos(ππ(π‘)) βsin(ππΏ(π‘))sin(ππ(π‘)
.
(4.2.14)
However,π‘ βπimplies thatππΏ(π‘) β ππΏ(π), so that we obtain π0,π(π, ππ, π)cos(ππ(π‘)) +π0,π (π, ππ, π)sin(ππ(π‘)) β π(π) cos(ππΏ(π))cos(ππ(π‘)) βsin(ππΏ(π))sin(ππ(π‘)
,
(4.2.15)
which, sinceπΒ€π(π‘)positive and bounded away from 0, implies that π0,π(π, ππ, π) β π(π)cos(ππΏ(π))
π0,π (π, ππ, π) β βπ(π)sin(ππΏ(π)). Consequently, writing
π(π, ππ, π) :=
q π2
0,π(π, ππ, π) +π2
0,π (π, ππ, π) πΏπ(π, ππ, π) := atan2 βπ0,π (π, ππ, π), π0,π(π, ππ, π)
, (4.2.16) we obtain thatπ(π, ππ, π) β π(π) and πΏπ(π, ππ, π) β ππΏ(π). We will therefore use π(π, ππ, π)to estimate the amplitudeπ(π)of the mode corresponding to the estimate ππandπΏπ(π, π , π)to estimate the true mode phaseπthroughπ(π)=ππ(π) +ππΏ(π) β ππ(π) +πΏπ(π, ππ, π). Unless otherwise specified, Equation (4.2.16) will takeπ =2.
Experimental evidence indicates thatπ = 2 is a sweet spot in the sense that π = 0 orπ =1 yields less fitting power, while largerπ entails less stability. Iterating this refinement process will allow us to achieve near machine-precision accuracies in our phase/amplitude estimates. See sub-figures (1) and (2) of the top and bottom of Figure4.6for illustrations ofπ(π‘),π(π, ππ, π£) (π‘),π(π‘) βππ(π‘)andπΏπ(π, ππ, π£) (π‘) corresponding to the first mode π£1of the signals π£ displayed in Figures 4.2.4 and 4.3.4.
Figure 4.5: [102, Fig. 28], top: π£ is as in Figure 4.2 (the base waveform is trian- gular). Bottom: π£ is as in Figure 4.3 (the base waveform is EKG). Both top and bottom: π = 2, (1) The windowed signal π£π (2) limπβ0E
ππ,π
1, π
ππ,π
1, π +ππ = π£π (3)(π£βπ£1,π)π (4) limπβ0E
ππ,π
2, π
ππ,π
2, π +ππ = (π£βπ£1,π)π
(5)(π£βπ£1,πβπ£2,π)π (6) limπβ0E
ππ,π
3, π
ππ,π
3, π +ππ = (π£βπ£1,π βπ£2,π)π
.
Figure 4.6: [102, Fig. 29], top: π£is as in Figure4.2(the base waveform is triangular).
Bottom: π£ is as in Figure 4.3 (the base waveform is EKG). Both top and bottom:
π = 0. (1) the amplitude of the first modeπ1(π‘) and its local Gaussian regression estimationπ(π, π1,π, π£) (π‘)(2) the error in estimated phase of the first modeπ1(π‘) β π1,π(π‘) and its local Gaussian regression πΏπ(π, π1,π, π£) (π‘) (3, 4) are as (1,2) withπ£ andπ1,π replaced byπ£βπ£1,π andπ2,π (5,6) are as (1,2) with π£ andπ1,π replaced by π£βπ£1,πβπ£2,π andπ3,π.
4.3 The iterated micro-local KMD algorithm.
Figure 4.7: [102, Fig. 27], modular representation of Algorithm 3, described in this section. The blue module represents the estimation of the lowest frequency of signal represented byπ£ as illustrated in Figure 4.4. The brown module represents the iterative estimation of the mode with lowest instantaneous frequency of steps10 through14of Algorithm3. The yellow module represents the iterative refinement of all the modes in steps 21 through 28. The brown and yellow modules used to refine phase/amplitude estimates use the same code.
The method of estimating the lowest instantaneous frequency, described in Sec- tion 4.1, provides a foundation for the iterated micro-local KMD algorithm [102, Sec. 8.3], Algorithm 3. This algorithm is presented its modular representation in Figure4.7, using Figures4.4,4.5, and4.6. We begin by letting
π¦(π‘) =π1cos(π‘) +
β
Γ
π=2
ππcos(ππ‘+ππ) (4.3.1) be the Fourier representation of the base waveformπ¦(which, without loss of gener- ality, has been shifted so that the first sine coefficient is zero) and write
Β―
π¦(π‘) :=π¦(π‘) βπ1cos(π‘) (4.3.2) for its overtones.
Algorithm 3Iterated micro-local KMD.
1: π β1
2: π£(1) β π£
3: whiletruedo
4: if πlow(π£(π)) =β then
5: break loop
6: else
7: ππ,π β πlow(π£(π))
8: end if
9: ππ,π(π‘) β0
10: repeat
11: for π in{1, ..., π}do
12: π£π ,res β π£βππ ,ππ¦Β―(ππ ,π) βΓ
πβ π , πβ€πππ ,ππ¦(ππ ,π)
13: ππ ,π(π)1β π π, ππ ,π, π£π ,res /π1
14: ππ ,π(π) β ππ ,π(π) +1
2πΏπ π, ππ ,π, π£π ,res
15: end for
16: untilsupπ,π
πΏπ π, ππ,π, π£π,res < π1
17: π£(π+1) β π£βΓ
πβ€πππ ,ππ¦(ππ ,π)
18: πβπ+1
19: end while
20: πβπβ1
21: if refine_final=True then
22: repeat
23: forπin{1, ..., π}do
24: π£π,res β π£βππ,ππ¦Β―(ππ,π) βΓ
πβ πππ ,ππ¦(ππ ,π)
25: ππ,π(π) βπ π, ππ,π, π£π,res
26: ππ,π(π) βππ,π(π) + 1
2πΏπ π, ππ,π, π£π,res
27: end for
28: untilsupπ ,π
πΏπ π, ππ ,π, π£π ,res < π2
29: end if
30: Return the modes π£π,π βππ,π(π‘)π¦(ππ,π(π‘))forπ=1, ..., π
Let us describe how steps1to19provide refined estimates for the amplitude and the phase of each modeπ£π, π β {1, . . . , π} of the signalπ£. Although the overtones ofπ¦ prevent us from simultaneously approximating all the instantaneous frequencies πΒ€π from the max-pool energy of the signalπ£, since the lowest modeπ£low =πlowπ¦(πlow) can be decomposed into the sumπ£low = πlowπ1cos(πlow) +πlowπ¦Β―(πlow) of a signal πlowπ1cos(πlow) with a cosine waveform plus the signal πlowπ¦Β―(πlow) containing its higher frequency overtones, the method of Section4.1can be applied to obtain an
1 All statements in Algorithms with dummy variableπorπ‘ imply a loop over all values ofπin the meshT.
estimate πlow,π of πlow and (4.2.16) can be applied to obtain an estimate πlow,ππ1 of πlowπ1, producing an estimate πlow,ππ1cos(πlow,π) of the primary component πlowπ1cos(πlow) of the first mode. Since π1 is known, this estimate produces the estimateπlow,ππ¦Β―(πlow,π)for the overtones of the lowest mode. Recall that we calculate all quantities over the interval[β1,1]in this setting. Estimates near the borders,β1 and 1, will be less precise but will be refined in the following loops. To improve the accuracy of this estimate, in steps 13and14 the micro-local KMD of Section 4.2 is iteratively applied to the residual signal of every previously identified mode π£π ,res β π£β ππ ,ππ¦Β―(ππ ,π) βΓ
πβ π , πβ€πππ ,ππ¦(ππ ,π), consisting of the signal π£ with the estimated modesπ β πas well as the overtones of estimated mode π removed. This residual is the sum of the estimation of the isolated base frequency component of π£π and Γ
π >ππ£π. The rate parameter 1/2 in line 14 is to avoid overcorrecting the phase estimates, while the parametersπ1andπ2in steps10and21are pre-specified accuracy thresholds. The resulting estimated lower modes are then removed from the signal to determine the residualπ£(π+1) :=π£βΓ
πβ€πππ ,ππ¦(ππ ,π)in line17.
Iterating this process, we peel off an estimateππ,ππ¦(ππ,π)of the mode corresponding to the lowest instantaneous frequency of the residualπ£(π) :=π£βΓ
πβ€πβ1ππ ,ππ¦(ππ ,π) of the signal π£ obtained in line 17, removing the interference of the first π β 1 modes, including their overtones, in our estimate of the instantaneous frequency and phase of theπ-th mode. See Figure 4.4 for the evolution of the π΄π ππ€ sausage as these modes are peeled off. See sub-figures (3) and (5) of the top and bottom of Figure4.5for the results of peeling off the first two estimated modes of the signalπ£ corresponding to both Figures4.2and4.3and sub-figures (4) and (6) for the results of the corresponding projections in (4.2.5). See sub-figures (3) and (4) of the top and bottom of Figure4.6for amplitude and its estimate of the results of peeling off the first estimated mode and sub-figures (5) and (6) corresponding to peeling off the first two estimated modes of the signalπ£corresponding to both Figures4.2and4.3.
After the amplitude/phase estimatesππ,π, ππ,π, π β {1, . . . , π}, have been obtained in steps1 to 19, we have the option to further improve our estimates in a final opti- mization loop in steps21to28. This choice is symbolized by variable βrefine_finalβ
which isTrueif we wish to run this final refinement, which enables us to achieve even higher accuracies by iterating the micro local KMD of Section 4.2 on the residual signalsπ£π,res β π£βππ,ππ¦Β―(ππ,π) βΓ
πβ πππ ,ππ¦(ππ ,π), consisting of the signalπ£ with all the estimated modes π β π and estimated overtones of the modeπremoved.
The proposed algorithm can be further improved by (1) applying a Savitsky-Golay
filter to locally smooth (denoise) the curves corresponding to each estimate ππ,π (which corresponds to refining our phase estimates through GPR filtering) (2) start- ing with a largerπΌ(to decrease interference from other modes/overtones) and slowly reducing its value in the optional final refinement loop (to further localize our esti- mates after other components, and hence interference, have been mostly eliminated).
4.4 Numerical experiments
Here, we present results for both the triangle and EKG base waveform examples [102, Sec. 8.4]. As discussed in the previous section, these results are visually displayed in Figures4.5and4.6.
Triangle wave example
The base waveform is the triangle wave displayed in Figure 4.1. We observe the signalπ£ on a mesh spanning [β1,1] spaced at intervals of 50001 and aim to recover each mode π£π over this time mesh. We take πΌ = 25 within the first refinement loop corresponding to steps 1 to19 and slowly decreased it to 6 in the final loop corresponding to steps 22 to 28. The amplitudes and frequencies of each of the modes are shown in Figure4.2. The recovery errors of each mode as well as their amplitude and phase functions over the whole interval [β1,1]and the interior third [β13, 1
3] are displayed in Tables4.1and4.2, respectively. In the interior third of the interval, errors were found to be on the order of 10β9for the first signal component and approximately 10β7 for the higher two. However, over the full interval, the corresponding figures are in the 10β4 and 10β3 ranges due to recovery errors near the boundaries, β1 and 1, of the interval. Still, a plot superimposing π£π and π£π,π would visually appear to be one curve over [β1,1] due to the negligible recovery errors.
Mode kπ£π , πkπ£βπ£πkπΏ2
πkπΏ2
kπ£π , πβπ£πkπΏβ
kπ£πkπΏβ
kππ , πβππkπΏ2
kππkπΏ2 kππ,πβππkπΏ2
π =1 5.47Γ10β4 3.85Γ10β3 2.80Γ10β4 4.14Γ10β5 π =2 6.42Γ10β4 2.58Γ10β3 3.80Γ10β5 1.85Γ10β4 π =3 5.83Γ10β4 6.29Γ10β3 2.19Γ10β4 6.30Γ10β5 Table 4.1: Signal component recovery errors in the triangle base waveform example over[β1,1].
Mode kπ£π , πkπ£βπ£πkπΏ2
πkπΏ2
kπ£π , πβπ£πkπΏβ
kπ£πkπΏβ
kππ , πβππkπΏ2
kππkπΏ2 kππ,πβππkπΏ2
π =1 1.00Γ10β8 2.40Γ10β8 7.08Γ10β9 6.52Γ10β9 π =2 2.74Γ10β7 2.55Γ10β7 1.87Γ10β8 2.43Γ10β7 π =3 2.37Γ10β7 3.67Γ10β7 1.48Γ10β7 1.48Γ10β7 Table 4.2: Signal component recovery errors in the triangle base waveform example over[β1
3, 1
3].
EKG wave example
The base waveform is the EKG wave displayed in Figure 4.1. We use the same discrete mesh as in the triangle case. Here, we tookπΌ=25 in the loop corresponding to steps1to19and slowly decreased it to 15 in the final loop corresponding to steps 22 to 28. The amplitudes and frequencies of each of the modes are shown in Figure4.3, while the recovery error of each mode as well as their amplitude and phase functions are shown both over the whole interval[β1,1]and the interior third [β1
3, 1
3] in Tables4.3and4.4, respectively. Within the interior third of the interval, amplitude and phase relative errors are found to be on the order of 10β4 to 10β5 in this setting. However, over [β1,1], the mean errors are more substantial, with amplitude and phase estimates in the 10β1to 10β3range. Note the high error rates in πΏβstemming from errors in placement of the tallest peak (the region around which is known as the R wave in the EKG community). In the center third of the interval, π£π,πandπ£πare visually indistinguishable due to the small recovery errors.
Mode kπ£π , πkπ£βπ£πkπΏ2
πkπΏ2
kπ£π , πβπ£πkπΏβ
kπ£πkπΏβ
kππ , πβππkπΏ2
kππkπΏ2 kππ,πβππkπΏ2
π =1 5.66Γ10β2 1.45Γ10β1 4.96Γ10β3 8.43Γ10β3 π =2 4.61Γ10β2 2.39Γ10β1 2.35Γ10β2 1.15Γ10β2 π =3 1.34Γ10β1 9.39Γ10β1 9.31Γ10β3 2.69Γ10β2 Table 4.3: Signal component recovery errors on [β1,1]in the EKG base waveform example.
Mode kπ£π , πkπ£βπ£πkπΏ2
πkπΏ2
kπ£π , πβπ£πkπΏβ
kπ£πkπΏβ
kππ , πβππkπΏ2
kππkπΏ2 kππ,πβππkπΏ2
π =1 1.80Γ10β4 3.32Γ10β4 3.52Γ10β5 2.85Γ10β5 π =2 4.35Γ10β4 5.09Γ10β4 3.35Γ10β5 7.18Γ10β5 π =3 3.63Γ10β4 1.08Γ10β3 7.23Γ10β5 6.26Γ10β5 Table 4.4: Signal component recovery errors on[β1
3, 1
3]in the EKG base waveform example.
C h a p t e r 5
ITERATED MICRO-LOCAL KERNEL MODE
DECOMPOSITION FOR UNKNOWN BASE WAVEFORMS
We continue our discussion of KMD techniques by examining its application to an extension of original mode recovery problem, Problem7. We generalize the problem to the case where base waveforms of each mode are unknown [102, Sec. 9] and is formally stated below in Problem 9. Previously, in Section 4, we discussed how GPR can be applied to learn the instantaneous amplitudes and phases of each mode.
In the context of the unknown waveform problem, we will introduce micro-local waveform KMD in Section 5.1, which again utilizes GPR and is able to estimate waveforms of modes.
Problem 9. For π βNβ, letπ1, . . . , ππ be piecewise smooth functions on [β1,1], letπ1, . . . , ππ be piecewise smooth functions on[β1,1]such that the instantaneous frequenciesπΒ€πare strictly positive and well separated, and letπ¦1, . . . , π¦π be square- integrable2π-periodic functions. Assume thatπand theππ, ππ, π¦π are all unknown.
Given the observation π£(π‘)=
π
Γ
π=1
ππ(π‘)π¦π ππ(π‘)
, π‘ β [β1,1], (5.0.1) recover the modesπ£π(π‘) :=ππ(π‘)π¦π ππ(π‘)
.
To avoid ambiguities caused by overtones with the unknown waveformsπ¦π, we will assume that the corresponding functions(ππΒ€π)π‘β[β1,1] and (π0πΒ€π0)π‘β[β1,1] are distinct forπ β π0andπ , π0 βNβ, that is, they may be equal for someπ‘ but not for allπ‘. We represent theπ-th base waveform π¦πthrough its Fourier series
π¦π(π‘)=cos(π‘) +
πmax
Γ
π=2
ππ,(π ,π)cos(π π‘) +ππ,(π ,π )sin(π π‘)
, (5.0.2)
that, without loss of generality, has been scaled and translated. Moreover, since we operate in a discrete setting, we also truncate the series at a finite levelπmax, which is naturally bounded by the inverse of the resolution of the discretization in time. To
Figure 5.1: [102, Fig. 30], (1) signal π£ (the signal is defined over [β1,1] but displayed over [0,0.4] for visibility) (2) instantaneous frequencies ππ := πΒ€π (3) amplitudes ππ (4, 5, 6) Modes π£1, π£2, π£3 over [0,0.4] (mode plots have also been zoomed in for visibility).
Figure 5.2: [102, Fig. 31], illustrations showing (1)π¦1(2)π¦2(3)π¦3.
illustrate our approach, we consider the signalπ£ =π£1+π£1+π£3and its corresponding modes π£π := ππ(π‘)π¦π ππ(π‘)
displayed in Figure5.1, where the corresponding base waveformsπ¦1, π¦2andπ¦3are shown in Figure5.2and described in Section5.3.
5.1 Micro-local waveform KMD
We are now describing the micro-localwaveformKMD [102, Sec. 9.1], Algorithm 4, which takes as inputs a time π, estimated instantaneous amplitude and phase functionsπ‘ β π(π‘), π(π‘), and a signalπ£, and outputs an estimate of the waveform π¦(π‘) associated with the phase function π. The proposed approach is a direct extension of the one presented in Section 4.2 and the shaded part of Figure 5.3 shows the new block which will be added to Algorithm3, the algorithm designed