s2let_check_axisym_tiling - Checks exactness of the tiling. -- Axisymmetric wavelets on the sphere. S2LET package to perform Wavelets transform on the Sphere. Copyright (C) 2012-2015 Boris Leistedt & Jason McEwen See LICENSE.txt for license details
0001 function error_on_axisym_tiling = s2let_check_axisym_tiling(kappa, kappa0, L, J) 0002 0003 % s2let_check_axisym_tiling - Checks exactness of the tiling. 0004 % -- Axisymmetric wavelets on the sphere. 0005 % 0006 % S2LET package to perform Wavelets transform on the Sphere. 0007 % Copyright (C) 2012-2015 Boris Leistedt & Jason McEwen 0008 % See LICENSE.txt for license details 0009 0010 identity = kappa0.^2; 0011 for j=0:J 0012 identity(1,:) = identity(1,:) + kappa(j+1,:).^2; 0013 end 0014 0015 error_on_axisym_tiling = 0; 0016 for l=1:L 0017 error_on_axisym_tiling = error_on_axisym_tiling + identity(1,l) - 1.0; 0018 end 0019 0020 end