  Precise knowledge of magnetic fields is crucial in many medical imaging
applications like magnetic resonance imaging or magnetic particle imaging (MPI)
as they are the foundation of these imaging systems. For the investigation of
the influence of field imperfections on imaging, a compact and unique
representation of the magnetic fields using real solid spherical harmonics,
which can be obtained by measuring a few points of the magnetic field only, is
of great assistance. In this manuscript, we review real solid harmonic
expansions as a general solution of Laplace's equation including an efficient
calculation of their coefficients using spherical t-designs. We also provide a
method to shift the reference point of an expansion by calculating the
coefficients of the shifted expansion from the initial ones. These methods are
used to obtain the magnetic fields of an MPI system. Here, the field-free-point
of the spatial encoding field serves as unique expansion point. Lastly, we
quantify the severity of the distortions of the static and dynamic fields in
MPI by analyzing the expansion coefficients.
