xwt (pyleoclim.utils.wavelet.xwt)
- pyleoclim.utils.wavelet.xwt(coeff1, coeff2)[source]
Return the cross wavelet transform.
- Parameters
coeff1 (array) – the first of two sets of wavelet transform coefficients in the form of a1 + a2*1j
coeff2 (array) – the second of two sets of wavelet transform coefficients in the form of a1 + a2*1j
freq (array) – vector of frequency
tau (array') – the evenly-spaced time points, namely the time shift for wavelet analysis
- Returns
xw_t (array) – the cross wavelet transform complex number
xw_amplitude (array) – the cross wavelet amplitude
xw_phase (array) – the cross wavelet phase
References
Grinsted, A., Moore, J. C. & Jevrejeva, S. Application of the cross wavelet transform and wavelet coherence to geophysical time series. Nonlin. Processes Geophys. 11, 561–566 (2004).