shxarray

Top level API documentation

shxarray.shlib

shlib is shxarray’s default binary Cython backend. Some of the heavy lifting such as synthesis and analysis operations, is done using this the functions of this shared library.

class shxarray.shlib.Analysis

Bases: object

class shxarray.shlib.Pn

Bases: object

Double precision Legendre polynomial wrapper

class shxarray.shlib.Pnm

Bases: object

Double precision Legendre polynomial wrapper

idx(n, m)
index()
nm(idx)
nmax()
class shxarray.shlib.SHComputeBackend

Bases: SHComputeBackendBase

analysis(dain, nmax, method)
gaunt(n2, n3, m2, m3)
gauntReal(n2, n3, m2, m3)
synthesis(dain, lon, lat, grid)
wigner3j(j2, j3, m2, m3)
class shxarray.shlib.Synthesis

Bases: object

class shxarray.shlib.Ynm

Bases: object

Compute surface spherical harmonics in double precision

nmax
shxarray.shlib.getGaunt(n2, n3, m2, m3)

Compute non-zero Gaunt coefficients for valid values of n1 and m1

shxarray.shlib.getGauntReal(n2, n3, m2, m3)

Compute non-zero Real Gaunt coefficients for valid values of n1 and m1

shxarray.shlib.getWigner3j(j2, j3, m2, m3)

Compute non-zero Wigner3J symbols with their valid (j1,m1) for j2,j3,m2,m3 input