S2FunHarmonic.sphericalHarmonicTrafo edit page

The spherical harmonic transform transfers a given harmonic series \[ \sum_{n=0}^N\sum_{k=-n}^n \hat{f}_n^{k} Y_n^{k}(\theta,\phi)\] into a bivariate Fourier series \[ \sum_{k,j=-N}^N \hat{g}_{k,j} e^{-i \, (k\alpha+j\beta+l\gamma)}.\] Therefore we just transform the harmonic coefficients \(\hat{f}_n^{k}\) into Fourier coefficients \(\hat{g}_{k,j}\) by the linear operator \[\hat{g}_{k,j} = i^{k} \, \sum_{n = \max \{|k|,|j|\} }^N \sqrt{2n+1}\, \hat{f}_n^{k} \, d_n^{j,k}(0) \, d_n^{j,0}(0).\]

Normally the indices of the output Fourier array ghat(k,j) runs over k,j=-N,...,N.

If SO3F is real valued the Fourier array ghat(k,j) is of size k = 0,...,N j = -N,...,N.

If we want to use the NFFT on this Fourier array, we have to make the size even, as the index set of the NFFT is -(N+1),...,N. Hence the flag 2^1 (make output even) yields ghat(k,j) of size k = 0,...,N+mod(N+1,2) j = -(N+1),...,N

flags: 2^0 -> use L_2-normalized Wigner-D functions 2^1 -> make size of output Fourier array (ghat) even in every dimension 2^2 -> fhat are the Fourier coefficients of a real valued function 2^3 -> fhat are the Fourier coefficients of a antipodal function 2^4 -> use symmetry property (not implemented yet)

Syntax

ghat = sphericalHarmonicTrafo(sF)
ghat = sphericalHarmonicTrafo(sF,flags,'bandwidth',N)

Input

N double (bandwidth)
sF S2FunHarmonic
flags value (2^0+2^1+...)

Output

ghat double array (Fourier array with indices kxj --> theta × rho \in [0,pi]x[0,2pi))

Citing this page. This page is part of the documentation of MTEX, a free and open source MATLAB toolbox for analyzing and modeling crystallographic textures. It was written by The MTEX Developers and is published at https://mtex-toolbox.github.io/S2FunHarmonic.sphericalHarmonicTrafo.html. If you use MTEX, or reuse text or figures from this page, in your research, please cite

F. Bachmann, R. Hielscher, H. Schaeben: Texture Analysis with MTEX - Free and Open Source Software Toolbox, Solid State Phenomena 160 (2010), 63-68. 10.4028/www.scientific.net/SSP.160.63

BibTeX
@article{bachmann2010mtex,
  author  = {F. Bachmann and R. Hielscher and H. Schaeben},
  title   = {Texture Analysis with MTEX - Free and Open Source Software Toolbox},
  journal = {Solid State Phenomena},
  volume  = {160},
  pages   = {63-68},
  year    = {2010},
  doi     = {10.4028/www.scientific.net/SSP.160.63},
  url     = {https://doi.org/10.4028/www.scientific.net/SSP.160.63}
}

Other papers describing specific MTEX methods are listed under Publications — please cite the one that best fits your application. The MTEX source code is licensed under the GNU General Public License v2.0; the text and figures of this documentation are licensed under CC BY 4.0, which permits reuse — including by automated systems — provided The MTEX Developers and this page are credited.