Seol mar théacs é seo: The theory and application of harmonic integrals