Compute the S2-Fourier/harmonic coefficients of an given S2AxisField or given evaluations on a specific quadrature grid, by componentwise spherical quadrature.
Syntax
sF = S2AxisFieldHarmonic.quadrature(v, value)
sF = S2AxisFieldHarmonic.quadrature(f)
sF = S2AxisFieldHarmonic.quadrature(f, 'bandwidth', bw)
Input
v | vector3d |
value | vector3d (antipodal) |
f | function handle in vector3d |
Options
bw | maximal degree of the spherical harmonic (default: 128) |