Compute the space-concentration kernel of a spherical cap.

## Usage

dm = ComputeDM (lmax, m, theta0)

## Returns

dm : float, dimension (lmax+1, lmax+1)
The space-concentration kernel or angular order m.

## Parameters

lmax : integer
The spherical harmonic bandwidth of the windows.
m : integer
The angular order of the concentration problem.
theta0 : float
ComputeDM will calculate the space-concentration kernel of angular order m for the spherical-cap concentration problem. The eigenfunctions of this matrix correspond to a family of orthogonal windowing functions, and the eigenvalues correspond to the window’s concentration factor (i.e., the power of the window within theta0 divided by the total power of the function). It is assumed that the employed spherical harmonic functions are normalized to the same value for all degrees and angular orders, which is the case for both the geodesy 4-pi and orthonormalized harmonics. This kernel is symmetric and is computed exactly by Gauss-Legendre quadrature.