Compute the S2-Fourier/harmonic coefficients of an given S2Fun or given evaluations on a specific quadrature grid.
Syntax
sF = S2FunHarmonicSym.quadrature(nodes,values,'weights',w,CS)
sF = S2FunHarmonicSym.quadrature(f,CS)
sF = S2FunHarmonicSym.quadrature(f, 'bandwidth', bandwidth,CS)Input
| values | double (first dimension has to be the evaluations) |
| nodes | vector3d |
| w | double quadrature weights |
| f | function handle in vector3d (first dimension has to be the evaluations) |
Output
| sF | S2FunHarmonic |
Options
| symmetrise | apply symmetrisation, only required if the function is not yet symmetric |
| bandwidth | harmonic cut off degree |