Disclosed herein is a magnet assembly that includes at least two magnets arranged in a fixed spaced relationship with one another thereby to define a space between the magnets that encompasses an imaging volume. Each of the magnets produces a variety of magnetic field strengths across inward-facing surfaces thereof that, in combination, produce an acceptably homogeneous magnetic field in the imaging volume. Also disclosed is a method of defining a magnetic field for an imaging volume. The method comprises generating an initial model of a magnet assembly; estimating a magnetic field for the imaging volume based on the model; calculating deviation between the estimated magnetic field and a target magnetic field for the imaging volume; and updating the model to reduce the deviation by modifying the magnet assembly to produce a variety of magnetic field strengths that, in combination, produce substantially the target magnetic field in the imaging volume.