; Given a number of points and a spacing, return an ; array of the wavelet fourier series and the ; array of frequencies (2 pi/wavelength) for the ; j, k wavelet as defined by Sato. function dangle_jk_wL, H, d, xh, j, k, wL psianglehatL = angle_jk_wL(H, d, xh, j, k, wL) ihm = complex(0,1) * H * wL psihatL = (1-ihm)*psianglehatL return, psihatL end pro dangle_jk_wL_test H = 32. d = 1. j=1 k=1 psihatL = dangle_jk_wL(H, d, 0., 0, 0, wL) psijkhatL = dangle_jk_wL(H, d, 0., j, k, wL) window, 0, xs=1000,ys=500 !p.multi=[0,2,0] plot, wL, abs(psijkhatL), xr=[-20,20]/(4.*H), /li, ps=-4 oplot, wL, abs(psihatL) end