PROBLEM TO BE SOLVED: To provide a method for forming a magnetic field for an imaging volume that mitigates or obviates at least one of the disadvantages of the prior art.SOLUTION: A method for defining a magnetic field for an imaging volume comprises: generating an initial model of a magnet assembly; estimating a magnetic field for the imaging volume on the basis of 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 target volume.【課題】従来技術の欠点の少なくとも1つを軽減するか取り除く、イメージング・ボリューム用の磁場を形成する方法を提供する。【解決手段】イメージング・ボリューム用の磁場を決定する方法は、磁石組立体の初期モデルを生成することと、そのモデルに基づいて、イメージング・ボリューム用の磁場を見積もることと、その見積もられた磁場とイメージング・ボリューム用の目標磁場との間の偏差を計算することと、組み合わされることで目標ボリューム内に目標磁場を実質的に生成する様々な磁場強度を生成するように、磁石組立体を修正することで偏差を小さくするようにモデルをアップデートすることと、を含んでいる。【選択図】図1