s2let_axisym_synthesis_spin Compute axisymmetric wavelet transform, output as HEALPIX maps. Default usage : fQ, fU = s2let_hpx_alm2map(flm, nside, <options>) flm is the input spherical harmonic decomposition, nside is the HEALPIX resolution for the output map, f is the corresponding output map. Option : 'L' = { Harmonic band-limit; L > 1 (default=2*nside) } 'Spin' = { Spin; (default=2)} 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 [fQ, fU] = s2let_hpx_alm2map(flmQ, flmU, nside, varargin) 0002 0003 % s2let_axisym_synthesis_spin 0004 % Compute axisymmetric wavelet transform, output as HEALPIX maps. 0005 % 0006 % Default usage : 0007 % 0008 % fQ, fU = s2let_hpx_alm2map(flm, nside, <options>) 0009 % 0010 % flm is the input spherical harmonic decomposition, 0011 % nside is the HEALPIX resolution for the output map, 0012 % f is the corresponding output map. 0013 % 0014 % Option : 0015 % 'L' = { Harmonic band-limit; L > 1 (default=2*nside) } 0016 % 'Spin' = { Spin; (default=2)} 0017 % 0018 % S2LET package to perform Wavelets transform on the Sphere. 0019 % Copyright (C) 2012-2015 Boris Leistedt & Jason McEwen 0020 % See LICENSE.txt for license details 0021 0022 0023 sz = size(flmQ); 0024 Lguessed = sqrt(sz(1)); 0025 0026 p = inputParser; 0027 p.addRequired('flmQ',@isnumeric); 0028 p.addRequired('flmU',@isnumeric); 0029 p.addRequired('nside', @isnumeric); 0030 p.addParamValue('Spin', 2, @isnumeric); 0031 p.addParamValue('L', Lguessed, @isnumeric); 0032 p.parse(flmQ, flmU, nside, varargin{:}); 0033 args = p.Results; 0034 0035 [fQ, fU] = s2let_hpx_alm2map_spin_mex(flmQ, flmU, nside, args.L, args.Spin); 0036 0037 end