Utility Functions#
| Function Name | Description | 
|---|---|
| Wrapper function for the Inverse Fast Fourier Transform with spectral folding in the polar regions to mitigate aliasing. | |
| Computes the Inverse Fast Fourier Transform with spectral folding in the polar regions to mitigate aliasing (NumPy). | |
| Computes the Inverse Fast Fourier Transform with spectral folding in the polar regions to mitigate aliasing (JAX). | |
| Computes the Inverse Fast Fourier Transform with spectral folding in the polar regions to mitigate aliasing (Torch). | |
| Wrapper function for the Forward Fast Fourier Transform with spectral back-projection in the polar regions to manually enforce Fourier periodicity. | |
| Computes the Forward Fast Fourier Transform with spectral back-projection in the polar regions (NumPy). | |
| Computes the Forward Fast Fourier Transform with spectral back-projection in the polar regions (JAX). | |
| Computes the Forward Fast Fourier Transform with spectral back-projection in the polar regions (Torch). | |
| Folds higher frequency Fourier coefficients back onto lower frequency coefficients (NumPy). | |
| Folds higher frequency Fourier coefficients back onto lower frequency coefficients (JAX). | |
| Folds higher frequency Fourier coefficients back onto lower frequency coefficients (Torch). | |
| Extends lower frequency Fourier coefficients onto higher frequency coefficients (NumPy). | |
| Extends lower frequency Fourier coefficients onto higher frequency coefficients (JAX). | |
| Extends lower frequency Fourier coefficients onto higher frequency coefficients (Torch). | 
| Function Name | Description | 
|---|---|
| Compute quadrature weights for \(\theta\) and \(\phi\) integration to use in transform for various sampling schemes. | |
| Compute quadrature weights for \(\theta\) and \(\phi\) integration for various sampling schemes. | |
| Compute HEALPix quadrature weights for \(\theta\) and \(\phi\) integration. | |
| Compute DH quadrature weights for \(\theta\) and \(\phi\) integration. | |
| Compute MW quadrature weights for \(\theta\) and \(\phi\) integration. | |
| Compute MWSS quadrature weights for \(\theta\) and \(\phi\) integration. | |
| Compute DH quadrature weight for \(\theta\) integration (only), for given \(\theta\). | |
| Compute MW quadrature weights for \(\theta\) integration (only). | |
| Compute MWSS quadrature weights for \(\theta\) integration (only). | |
| Compute MW weights given as a function of index m. | 
Note
JAX and Torch versions of these functions share an almost identical function trace and
are simply accessed by the sub-modules quadrature_jax() and
quadrature_torch() respectively.
| Function Name | Description | 
|---|---|
| Perform period extension of MW/MWSS signal on the sphere in harmonic domain, extending \(\theta\) domain from \([0,\pi]\) to \([0,2\pi]\). | |
| Perform period extension of MWSS signal on the sphere in spatial domain, extending \(\theta\) domain from \([0,\pi]\) to \([0,2\pi]\). | |
| Upsample MWSS sampled signal on the sphere defined on domain \([0,\pi]\) by a factor of two. | |
| Upsample an extended MWSS sampled signal on the sphere defined on domain \([0,2\pi]\) by a factor of two. | |
| Downsample an MWSS sampled signal on the sphere. | |
| Unextend MW/MWSS sampled signal from \(\theta\) domain \([0,2\pi]\) to \([0,\pi]\). | |
| Convert \(\phi\) component of signal on the sphere from MW sampling to MWSS sampling. | |
| Convert \(\theta\) component of signal on the sphere from MW sampling to MWSS sampling. | |
| Convert signal on the sphere from MW sampling to MWSS sampling. | 
| Function Name | Description | 
|---|---|
| Generate a 2D set of random harmonic coefficients. | |
| Generate a 3D set of random Wigner coefficients. | 
Note
JAX and Torch versions of these functions share an almost identical function trace and
are simply accessed by the sub-modules resampling_jax() and
resampling_torch() respectively.
| Function Name | Description | 
|---|---|
| Euler rotates spherical harmonic coefficients by given angle in zyz convention. | |
| Generates an array of all reduced Wigner d-function coefficients for angle beta. | 
 
    


