; 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 angle_jk_wL, H, d, xh, j, k, wL psiphasehatL = phase_jk_wL(H, d, xh, j, k, wL) ihm = complex(0,1) * H * wL psihatL = (1-ihm)*psiphasehatL return, psihatL end pro angle_jk_wL_test H = 32. d = 1. j=1 k=1 psihatL = angle_jk_wL(H, d, 0., 0, 0, wL) psijkhatL = angle_jk_wL(H, d, 0., j, k, wL) window, 0, xs=1000,ys=500 !p.multi=[0,2,0] plot, wL, abs(psihatL), xr=[-20,20]/(4.*H) oplot, wL, abs(psijkhatL), /li, ps=-4 end