Optimal coils for producing uniform magnetic fields

A method is described for calculating the optimal current-carrying systems to produce a uniform magnetic field in a given space. A least-squares approach is used to minimise the RMS deviation of the field from that required. The technique is illustrated by results for systems of N=2, 3, 4, 6, 8 circular coaxially arranged coils.