Text this: The theory and application of harmonic integrals