Pātuhitia tēnei: Principles and applications of electromagnetic fields