In the human spinal cord, the magnetic flux density is spatially inhomogeneous, which is mainly due to the different susceptibilities of the vertebrae, the intervertebral disks, and the air-filled lung. These inhomogeneities hamper magnetic resonance (MR) imaging and spectroscopy of the spinal cord, for example by causing geometric distortions in echo-planar imaging, yielding signal dropouts and echo time shifts in T 2 ∗-weighted acquisitions, and broadening lines in MR spectroscopy. Thus, a shim of the magnetic field to minimize such inhomogeneities in the acquisition volume or the region of interest is essential. However, even with a careful adjustment of the standard (static) shim, the image or spectrum quality may be insufficient because not all inhomogeneities can be compensated appropriately. In this chapter, advanced shim approaches like slice-specific gradient compensation and dynamic first-order shimming are presented that can help to improve MR acquisitions of the human spinal cord in vivo on standard whole-body MR systems.
KeywordsDynamic shimming, Field inhomogeneity, Gradient compensation, Shim, z-shim
The author is very grateful to Susann Boretius, Martin Busch, Yasar Goedecke, Martin Koch, Joost Kuijer, Marco Lawrenz, and Petra Pouwels for helpful discussions and to Joachim Graessner (Siemens Healthcare) and Jürgen Bunke (Philips Healthcare) for providing information about the shim techniques of their companies’ MR systems.
In the context of magnetic resonance (MR) experiments, “shimming” describes the procedures performed to provide a sufficiently homogeneous field of the magnetic flux density within the sample or a selected subvolume of it. Since the advent of in vivo MR, shimming has always been an important issue for MR imaging (MRI) and MR spectroscopy (MRS). The generation of a homogeneous static magnetic field is technically challenging not only because of the larger magnet bore required, in particular for human whole-body MR systems, but also due to the different susceptibilities of air, bone, and tissues and their distribution within the body, which induce additional field inhomogeneities. These problems increase with the static magnetic field and are still prominent despite the progress achieved in shimming in the past.
More recently, the problem of inhomogeneous radiofrequency (RF) fields has risen in high static magnetic fields for which the wavelength can be comparable to the size of the body part investigated. As a consequence, standing wave effects can become relevant and yield an inhomogeneous flip angle in the object that can hamper acquisitions. The correction of such B 1 inhomogeneities, often referred to as “ B 1 shimming”, is an evolving field of research and, for instance, has driven the development of parallel transmission techniques. However, this topic is beyond the scope of this chapter, which will focus on shimming of the static magnetic flux density B 0 for applications in humans, in particular in the spinal cord.
So far, only a few studies have been presented that address shimming issues specifically for the human spinal cord. In particular, a detailed evaluation and comparison of the various shim approaches that have been developed and applied previously, such as for the human brain (see Ref. for an overview), has not been performed. Therefore, this chapter will cover not only the standard shim methods that are routinely used for the spinal cord, but also other promising and emerging shim techniques that could provide a benefit for spinal cord applications even if they are currently not commonly available.
The background section ( Section 2.2.1 ) addresses the origins of field inhomogeneities in vivo and the problems that they may cause, and underlines the importance of shimming for MRI and MRS. It is followed by Section 2.2.2 on the field inhomogeneities relevant in the human spinal cord. Then the principles of shimming are presented in detail, covering the required hardware in Section 2.2.3 , static and dynamic shim approaches ( Section 2.2.4 ), the measurement of the field distribution ( Section 2.2.5 ), usually a prerequisite of shimming, and the basics of shim algorithms ( Section 2.2.6 ) that aim to determine the optimum setup of the available shim hardware. The subsequent sections will deal with practical issues of shimming ( Section 2.2.7 ) and specific problems and solutions for T 2 ∗ – and diffusion-weighted acquisitions ( Sections 2.2.8 and 2.2.9 ) and MRS ( Section 2.2.10 ). Finally, a short summary is provided in Section 2.2.11 .
The MR frequency depends on the magnetic flux density (i.e., on the magnetic field strength and the magnetic susceptibility)
Accurate spatial encoding and MRS peak identification require a homogeneous field of the flux density
yield the wrong localization (e.g., geometric slice or image distortions)
broaden line widths in MRS and hamper the identification of metabolites
cause unwanted signal losses (e.g., in T 2 ∗ weighting) or distort the diffusion weighting
In human applications, field inhomogeneities usually are dominated by differences in magnetic susceptibility within and around the body
B 0 shimming aims to minimize the field inhomogeneities in order to improve image and spectra quality and localization
The MR resonance frequency, the Larmor frequency, is proportional to the magnetic flux density. MRI and MRS rely on the assumption that, in the absence of pulsed field gradients, the Larmor frequency of all (magnetically equivalent) spins is virtually identical, independent of their position within the object, slice, or voxel. Only then is the assignment of the Larmor frequencies to specific chemical shifts or, in the presence of pulsed field gradients, to spatial coordinates in the gradient direction unambiguous, accurate, and correct. Any deviation from a perfectly homogeneous field of the flux density, such as an offset, a field gradient, or a more complex field variation, disturbs these assignments and can result in misassigned chemical shifts and a wrong localization.
Spatial encoding with pulsed field gradients is based on the linear increase of the field along the gradient direction. Field inhomogeneities superimpose the field of the pulsed gradient, and the resulting field can be shifted, distorted, rotated, and bended. This can cause a misregistration of slice-selective RF excitations and of the acquired signal, yielding incorrect slice positions, orientations, and thicknesses and geometric distortions of the image ( Figure 2.2.1 ). Slice shifts can also reduce the effective slice thickness, and, thus, the signal intensity in RF refocused acquisitions like spin-echo imaging is diminished if the induced shifts vary between the different RF excitations. These effects are not very pronounced for standard spin-echo and gradient-echo imaging; however, they could hamper quantitative measurements in regions with considerable field inhomogeneities (e.g., close to major air cavities and the body surface or implants and devices). Furthermore, quantitative diffusion-weighting experiments that are also based on pulsed field gradients can also be affected by field inhomogeneities (see Section 2.2.9 ).
Many fast-imaging techniques, like steady-state free precession (SSFP) or spiral imaging, are very sensitive to field inhomogeneities and already exhibit severe image artifacts like banding artifacts and image blurring for moderate field variations. In particular, echo-planar imaging, which is often used for diffusion-weighted and functional neuroimaging, suffers from pronounced geometric distortions in the presence of typical field inhomogeneities, most notably in the phase-encoding direction ( Figure 2.2.2 ).
Because field inhomogeneities broaden the frequency distribution of the spins, they can also cause significant intravoxel dephasing. While this effect vanishes in RF refocused (e.g., spin-echo) imaging, it can reduce the signal amplitude considerably in T 2 ∗ -weighted acquisitions (see Section 2.2.8 ), as used for functional neuroimaging based on the blood oxygenation level–dependent (BOLD) contrast ( Figure 2.2.3 ). The dephasing increases with the voxel size ( Figure 2.2.3 ) and is usually most pronounced in the slice direction, mainly due to the larger voxel dimension often used in this direction.
In spectroscopy, field inhomogeneities broaden the line width, which reduces the peak amplitudes, distorts the line shape, and can shift the frequency of peaks ( Figure 2.2.4 ). These effects hinder the reliable detection and unambiguous identification of metabolite-specific peaks, couplings, and patterns ( Figure 2.2.4 ), and they hamper the quantification of metabolite concentrations (see Section 2.2.10 ). Furthermore, chemical-shift selective excitation or acquisition schemes (e.g., water suppression, fat saturation, or spectral editing) can be disturbed considerably, which may also affect imaging experiments.
Thus, a sufficiently homogeneous field of the magnetic flux density is crucial for MRI and MRS, and the efforts undertaken to shim the field (i.e., to optimize its homogeneity) are an important part of the adjustment procedure prior to the acquisition (see Section 2.2.7 ) that can improve the image and spectrum quality significantly (see Figures 2.2.1–2.2.4 ).
The static magnetic flux density effectively reflects the combined effect of (1) the magnetic field generated by electric currents (e.g., in the magnet), and (2) the magnetization generated in matter that is exposed to this field (e.g., objects in the magnet bore). The magnetization increases with the field strength and is proportional to the magnetic susceptibility that differs significantly between air, for example around the body and in air-filled cavities like the lung, bones, and biological tissues ( Table 2.2.1 ). Thus, the actual field distribution is not solely defined by the design of the magnet and the adjustment of the magnetic field (e.g., by using the shim coils) but also significantly influenced by the distribution of the magnetic susceptibilities within the bore, i.e., the objects and body in it.
|Material||( χ − 1)/10 −6 (cm.g.s)|
|Pyrolytic graphite||−450 1 |
Nowadays, the field homogeneity that can be achieved within the empty bore of the magnet over a typical measurement volume is very high, even for whole-body MR systems. For instance, the relative peak-to-peak variation (i.e., the relative difference between the maximum and the minimum fields) within a sphere with a diameter of 20 cm is typically about or below 0.03 parts per million (ppm) in state-of-the-art 3 T systems, which corresponds to field deviations of less than ±0.05 μT.
Because the differences between the magnetic susceptibilities of air or bones and tissue (see Table 2.2.1 ) are an order of magnitude larger (a few tenths ppm), the body is usually a significant source of field inhomogeneities in vivo. Thus, the field in vivo strongly depends on the geometry and orientation of the body part investigated and the distribution of the magnetic susceptibilities within it, which differs considerably between the different body parts and, to some extent, also between individuals, and can vary during the experiment (e.g., due to respiration). The related field deviations can therefore not be considered in the general setup (e.g., in the design of the magnet) but need to be addressed specifically for each examination and individual with a shim adjustment that, in the presence of motion, ideally is updated during the experiment.
Field Inhomogeneities in the Human Spinal Cord
Field inhomogeneities in the human spinal cord:
are mainly caused by the different magnetic susceptibilities of the vertebrae, tissue, vertebral disks, and air (e.g., in the lung)
can hamper acquisitions of the spinal cord in vivo considerably
are hard to compensate with the standard shim hardware of whole-body MR systems
Field inhomogeneities often hamper MR acquisitions of the human spinal cord, in particular T 2 ∗ – and diffusion-weighted imaging and MRS. A minor reason for this is the length of the spinal cord, which could require imaging fields of view as large as 400 mm or beyond in the head–feet direction. The homogeneity of the magnetic field in the empty bore for such a large field of view is typically about 4 ppm on standard 3 T MR systems, which already can cause problems in acquisitions sensitive to field inhomogeneities (see Figure 2.2.2 ). However, more important is the vicinity of the spinal cord to bones, in particular the vertebrae, and air-filled cavities, notably the lung. The magnetic susceptibilities of bone and, in particular, air differ considerably from those of tissue (see Table 2.2.1 ) and the vertebral disks, yielding significant field variations in the human spinal cord.
In all spinal cord sections, the alternation of vertebrae and vertebral disks along the spinal cord is a relevant problem. It effectively causes a periodic modulation of the field in the head–feet direction ( Figure 2.2.5 ). Such a modulation within about one or a few centimeters is hard to correct for with standard shim coils (see Section 2.2.3 ). For about one cycle, i.e., for a few axial slices or within tiny fields of view in the head–feet direction, the shim results achievable may be quite reasonable (see Section 2.2.7 ). But within a larger dimension, i.e., for typical slice stacks used in functional neuroimaging or for MRS voxels, significant inhomogeneities will remain. For axial acquisitions, the slice positions could be chosen to match either the sections within relatively homogeneous fields (i.e., midvertebrae positions) or positions that have very similar field inhomogeneities ( Figure 2.2.5 ), which is easier to correct for with the standard shim methods. However, for many applications, this is not an option.
In the lower cervical and upper thoracic section of the spinal cord, significant field variations are caused by the lung ( Figure 2.2.5 ). These inhomogeneities occur on a larger scale and, thus, are easier to address with the standard shim coils (see Section 2.2.3 ), but they are also more variable and much larger in amplitude. Some reduction of these inhomogeneities can be achieved with standard shim methods, but there is still much room for improvements ( Figure 2.2.5 ), inter alia, because the inhomogeneities within the spinal cord depend on the current air volume in the lung (i.e., the respiration state), and motion of the spinal cord may be relevant (e.g., due to respiration).
Thus, the standard shim methods available on common whole-body MR systems provide only a limited correction of the field inhomogeneities in the spinal cord. For the most affected applications, like BOLD-based functional neuroimaging and MRS, this correction is often not sufficient to obtain reasonable image or spectra quality. But more elaborated techniques, such as a dynamic shim update (see Section 2.2.4 ) or z-shimming (see Section 2.2.8 ), could yield a significant improvement.
shim coils generate an additional magnetic field driven by electric currents
each coil provides a unique, smooth field shape
the electric currents (i.e., the field strength) can be adapted rapidly
at least three linear and usually five second-order coils are available around the bore
additional, local shim coils have been shown to be beneficial
Passive shims (dia-, para-, or ferromagnetic materials):
only distort the existing magnetic field
are located at dedicated positions, preferably close to the target volume
can correct for more complex (arbitrarily shaped) field variations
their adjustment can be quite time consuming
Hardware used for shimming can be divided into two categories. Shim coils driven by an electric current generate an additional magnetic field (“active shim”; see Section 188.8.131.52 ) that superimposes the existing magnetic field (e.g., generated by the magnet). Ferromagnetic, paramagnetic, or diamagnetic materials that are placed in the bore of the magnet (“passive shims”; see Section 184.108.40.206 ) distort the field of the magnetic flux density. Both approaches aim to provide a more homogeneous field in a volume of interest (e.g., around the magnet isocenter or a target volume within the body). However, they differ regarding their flexibility and ability to correct field inhomogeneities. Standard shim coils are somehow limited regarding the field variations that can be compensated, but they can be adjusted flexibly, with an optimized setup being chosen on an acquisition-by-acquisition or even on a slice-by-slice basis (see Section 2.2.4 ). Current passive shim devices are less flexible because their adjustment can be quite time consuming (see Section 2.2.4 ), but they are able to correct more complex field variations.
Shim Coils (Active Shim)
Different solutions for shim coils that generate additional magnetic fields have been considered. Commonly available is a set of a few shim coils around the bore, with each of them generating a specific field “pattern”. Adjusting the currents of these shim coils appropriately, a reasonable compensation of typical field inhomogeneities can be attained. However, the homogeneity achievable in specific target volumes may be insufficient for some applications. This is why dedicated shim coils have been proposed that are designed to compensate the specific inhomogeneities that typically remain within the target volume. These coils are much smaller and are positioned close to the target (“local shim coils”). Recently, a promising, more general approach has been presented that involves a fixed array of local coils within the bore around the object. It is able to generate complex field variations, like dedicated local coils, but is more flexible, like the standard shim coils, as it is not constrained to a specific target region.
To describe an arbitrary field distribution mathematically, it can be decomposed into a set of basic functions. For the magnetic flux density, a suitable set is based on the so-called spherical harmonics. The individual terms of the decomposition describe unique spatial variations of the field that differ by (1) the power (order) in which the radial coordinate (i.e., the distance from the isocenter) appears in the expressions, and (2) the angular variation. The zeroth-order term corresponds to a homogeneous field, the three first-order terms are linear field variations in three orthogonal directions, and the five second-order terms represent components with a quadratic field variation and more complex angular dependencies (see Figure 2.2.6 ). Accordingly, any linear or higher-order term appearing in the decomposition describes a deviation from the desired homogeneous field and should be compensated. The linear terms can be corrected easily by the gradient coils using an appropriate constant current offset. But second- and higher-order terms require dedicated shim coils that are designed to provide the desired field distribution ( Figure 2.2.6 ).
Whole-body MR systems with lower field strength (1.5 T) often do not have specific shim coils and are limited to first-order shims. At higher field strength (≥3 T), second-order shim coils are standard in most MR systems (see Figure 2.2.6 ), and at 7 T or beyond at least some third-order coils and sometimes even a few fourth-order coils are available. These coils are usually integrated in the gradient coil unit but have their own power supply. Some vendors also provide superconducting shim coils within the cryostate that are adjusted during the installation of the MR system to optimize the field homogeneity in the empty bore for the specific MR environment (“tune-up shim”). These coils are usually termed “cryo shims”, while the standard shim coils are often referred to as “room-temperature shims”.
Even with higher-order shim coils, the complex field variations that can be present in a target volume cannot be compensated completely. One option to overcome this limitation is the usage of local shim coils. For instance, small coils within the oral cavity can reduce signal losses in T 2 ∗ -weighted functional neuroimaging of the orbitofrontal cortex. For optimum results, local shim coils should be designed to meet the specific needs of the target region. However, with a few coils of different designs that can be positioned and adjusted independently, a quite good compensation can be achieved as has been demonstrated for the human brain. This solution could be adapted for spinal cord applications to reduce larger-scale inhomogeneities (e.g., as caused by the lung).
A promising extension involves a fixed array of small coils that can be controlled independently. A setup of 24 coils around the mouse head has been successfully tested on an animal MR system and has been shown to be able to generate a variety of field variations, including third-order terms. Interestingly, it can also provide linear field gradients along any direction, which could be used to perform the spatial encoding rather than using a dedicated gradient coil. Recently, a first setup for the human head consisting of 48 coils has been developed and has been shown to improve shimming of the human brain at 7 T compared to the standard shim setup involving third-order shim coils. Thus, it seems to be very promising to apply this concept to the human spinal cord because it could also be able to address some of the periodic field variations caused by the vertebrae. However, an issue that needs to be considered is RF coupling of the local shim coils that may distort and reduce the RF field.
For passive shimming, ferromagnetic, paramagnetic, or diamagnetic materials are positioned in the bore of the magnet in order improve the field homogeneity in a target region. The simplest realization is to reduce or remove the susceptibility differences that cause the field inhomogeneities, in particular by replacing air in or around the body by a material with a magnetic susceptibility close or equal to that of tissue, such as water ( Figure 2.2.7 (A) ) or a foam of pyrolytic graphite (volume fraction 5%). Regarding the spinal cord, this approach could be applied to reduce effects occurring at the body’s surface, but it may interfere with the need to position surface coils as close as possible to the target volume to maximize the signal-to-noise ratio. Furthermore, it is unable to address the usually more pronounced susceptibility differences caused by bones and the air-filled lung.
In a more elaborated approach, dedicated amounts of a shim material with a magnetic susceptibility that differs from that of tissue (see Table 2.2.1 ) are positioned at different locations (see also Section 2.2.6 ) within the magnet bore or close to the target volume. To optimize the field homogeneity, the locations and quantities of the material must be carefully chosen (e.g., Refs ) and depend on the susceptibility of the material (see also Section 2.2.6 ). Due to the variety of locations that are usually available, more complex field corrections can be realized than with standard shim coils (e.g., Ref. ). To minimize the amount of shim material, only those higher-order field variations are usually corrected for which no room-temperature shim coils are available.
The type of feasible shim materials depends on the specific geometry and application. As a rule of thumb, the larger the distance to the target region is, the higher should be the difference of the material’s and the tissue’s susceptibilities (see Table 2.2.1 ). For instance, some vendors use passive shimming materials located around the tunnel to improve the field homogeneity of the empty bore for the specific MR environment as part of the “tune-up shim” during the installation or after major hardware upgrades. In this case, ferromagnetic materials (iron, nickel, cobalt, or alloys of them) are used to attain a significant field distortion in the isocenter (“iron shim”).
Several passive shim approaches have been presented that can be adapted to the specific target region investigated. In one variant, ferromagnetic materials have been used to shim the visual cortex of macaque brains. Such materials provide a high efficiency in distorting the field due to their excessive susceptibility and, thus, can provide significant corrections even deeper in the body. But attention must be paid to the considerable force and torque that may act on ferromagnetic materials within the static field. Thus, for adjusting the shim (i.e., the locations of the materials) in humans, either the subject or the shim device may have to be removed from the bore after the measurement of the field distribution for safety reasons. This would require time and a good reproducibility of the subject’s or the device’s position. However, this approach could provide a good solution to correct typical inhomogeneity patterns that are observed for a target volume independent of the subject. Thus, a fixed passive shim can be set up prior to the examination and used for different subjects.
For an individual, subject- or target-specific shim adjustment, high-susceptibility para- and diamagnetic materials, like graphite, bismuth, niobium, and zirconium (see Table 2.2.1 ), seem to be more feasible. They do not create safety issues, but their susceptibility is large enough to cause significant distortions even deeper in the body (e.g., in the human brain), if they are located close to the object. Thus, a subject- or even target-specific shim can easily be realized as has been demonstrated in animals and in the human brain, for example to reduce inhomogeneities in the orbitofrontal and temporal lobes by shim material located in the mouth or close to the forehead and ears. The usage of both dia- and paramagnetic materials (bismuth and zirconium) has been shown to yield better results and outperforms third-order room-temperature shims in the mouse brain at 9.4 T. An adaptation of such approaches to spinal cord applications could be very promising. As long as electrically conducting materials are used, their compatibility with the MR acquisitions must be ensured, for example regarding distortions of the RF field and the induction of eddy currents that could give rise to artifacts and could heat up the material and affect its magnetic susceptibility (i.e., the field correction).
Tune-up, Static, and Dynamic Shim
is based on a passive iron shim or cryo shim coils
is optimized for the empty bore or a phantom and performed by the manufacturer
involves the adjustment of currents in shim coils and of passive shims
is performed for the examination or prior to each measurement
is optimized for a specific target volume
Dynamic shim update:
optimized settings are used for each part of the measurement part (e.g., each slice)
it is not commonly available on whole-body MR systems; practically limited to shim coils
Several levels of shimming are usually applied to optimize the field homogeneity in the target region. During the installation of an MR system and after major hardware upgrades, the homogeneity of the magnetic field in the empty bore is optimized for the specific MR environment (“tune-up shim”). The setup of the corresponding shim components, the cryo shim coils and the iron shim (see Section 2.2.3 ), then remains fixed and cannot be adapted by the user. It therefore will not be considered here. The more flexible shim components like the room-temperature shim coils (see Section 2.2.3 ) can be adapted to correct the field distortions in the body part to investigate that, for example, are induced by the different magnetic susceptibilities of air, bones, and tissue. Usually, this setup is performed specifically for the chosen target volume and is fixed during the acquisition (“static shim”; Section 220.127.116.11 ), but dynamic approaches that aim to provide an optimized setup for different subvolumes, for example by updating the shim settings on a slice-by-slice basis, have also been presented (“dynamic shim update”; Section 18.104.22.168 ). Furthermore, (dynamic) pulse sequence modifications have been used to ameliorate the effects of field inhomogeneities, particularly in T 2 ∗ -weighted acquisitions. Strictly speaking, such techniques should not be considered as “shim” methods because they do not improve the field homogeneity but only aim to compensate the side effects that they have on the signal. Nevertheless, due to their relevance for spinal cord applications, they will be considered in the context of the applications for which they are useful (see Sections 2.2.8 and 2.2.9 ).
The field inhomogeneities in vivo depend on the body’s geometry and orientation in the bore and the distribution of bones and air within the body. Thus, a flexible correction of the actual inhomogeneities in the target volume, for example as determined from a field map (see Section 2.2.5 ), on an acquisition-by-acquisition basis is important.
On standard MR systems, this is realized using the gradient coil (first-order terms) and, if available, the room-temperature shim coils (second- and higher-order terms; see Section 22.214.171.124 ), but approaches with passive shims have also been proposed (see Section 126.96.36.199 ). While the room-temperature shim coils are independent of the hardware involved in the MR acquisitions, the gradient coil is also used for the spatial encoding. Thus, the static current offset applied to the gradient coil for shimming may reduce the maximum current available for pulsed gradients on the different axes (i.e., the specified gradient strength usually is not fully usable for pulsed gradients).
With the room-temperature shim coils, a relevant improvement of the field homogeneity can usually be achieved (see Figures 2.2.7(B) and 2.2.9 ), but higher-order field variations cannot be corrected appropriately. Thus, static, passive shim approaches (see Section 188.8.131.52 ) have been presented to improve the field homogeneity within the target region. They are suitable for correcting more complex field variations, but their feasibility to improve the homogeneity in the human spinal cord so far has not been demonstrated. Another option is local shim coils or coil arrays (see Section 184.108.40.206 ), that is, dedicated coils located within the bore close to the target region. So far, such devices are not commonly available but with an appropriately modified geometry could be quite helpful for spinal cord applications.