To numerically approximate a Borel probability measure by an atomic measure, we study the spectral decomposition of discrepancy kernels when restricted to compact subsets. The kernels' Fourier expansions are derived for restrictions to several distinct examples. We also check that several classical positive definite kernels are indeed discrepancy kernels.