diff --git a/Notebooks/Accelerated Imaging Methods.ipynb b/Notebooks/Accelerated Imaging Methods.ipynb index 3935fbb..dfb1861 100644 --- a/Notebooks/Accelerated Imaging Methods.ipynb +++ b/Notebooks/Accelerated Imaging Methods.ipynb @@ -29,7 +29,7 @@ "\n", "Accelerated Imaging in MRI are methods that reduce the number of k-space samples required.\n", "Since this violates our sampling criteria (Nyquist) this is often referred to as “undersampling.”\n", - "This allows for shorter scan times, which can be used to incease throughput, reduce artifacts, acquire more contrasts, and/or improve spatial resolution. \n", + "This allows for shorter scan times, which can be used to increase throughput, reduce artifacts, acquire more contrasts, and/or improve spatial resolution. \n", "\n", "All of these methods require additional steps in image reconstruction beyond using a Fourier Transform. These steps are based on the assumptions and a model for the accelerated imaging method being used.\n", "\n", @@ -151,11 +151,11 @@ "\n", "In these approaches, phase encoding lines are skipped in k-sapce. With direct Fourier Transform reconstruction, this results in aliasing artifacts due to violation of the sampling requirements. Parallel imaging reconstruction methods use the spatial information from the multiple RF receive coil elements to resolve this aliasing.\n", "\n", - "All of these methods require incorporation of the coil sensitivity profiles, either through measurement, estimation, or incorporation into a model. Coil sensitivity profiles can be measured with a coarse resolution (i.e. fast) pre-scan, and signal from the relatively uniform Body RF coil can be used as a reference to estimate the local receive coil element sensitivities. This is incoporated into the popular \"SENSE\" method. This approach will suffer from residual aliasing artifacts if there are mismatches between the measured coil sensitivities and the actual coil sensitivities during the accelerated scan, for example due to motion.\n", + "All of these methods require incorporation of the coil sensitivity profiles, either through measurement, estimation, or incorporation into a model. Coil sensitivity profiles can be measured with a coarse resolution (i.e. fast) pre-scan, and signal from the relatively uniform Body RF coil can be used as a reference to estimate the local receive coil element sensitivities. This is incorporated into the popular \"SENSE\" method. This approach will suffer from residual aliasing artifacts if there are mismatches between the measured coil sensitivities and the actual coil sensitivities during the accelerated scan, for example due to motion.\n", "\n", - "Methods that estimate or incorporate into the model the coil sensitivies typically require a fully sampled calibration region in the center of k-space. This increases the scan time, but are more robust since they estimate the coil sensitivities directly from the data being reconstructed. This includes the popular \"GRAPPA\" method.\n", + "Methods that estimate or incorporate into the model the coil sensitivities typically require a fully sampled calibration region in the center of k-space. This increases the scan time, but are more robust since they estimate the coil sensitivities directly from the data being reconstructed. This includes the popular \"GRAPPA\" method.\n", "\n", - "### Simultaenous Multi-Slice (SMS) Methods\n", + "### Simultaneous Multi-Slice (SMS) Methods\n", "\n", "Simultaneous Multi-Slice (SMS) methods, also known as multi-band imaging, excite and acquire multiple slices simultaneously, then using the coil sensitivity profiles in the reconstruction to separate the signal from each slice. The RF excitation pulses must excite multiple slice locations, which naively is done by summing multiple frequency-shifted RF pulses, each corresponding to a different slice location. In practice, more complex designs are used to mitigate peak power and improve robustness. The resulting k-space data contains the superposition of the signals from the multiple slices.\n", "\n", @@ -165,7 +165,7 @@ "\n", "### SNR in Parallel Imaging\n", "\n", - "There is an SNR penalty when using these methods that varies in severity depending on the conditioning of the undersampled reconstruction matrix. Variation in RF coil element sensitivity profiles in the direction of the undersampling leads to a more well-conditioned reconstruction and lower SNR penalty. Conversely, less RF coil element sensitivity profile variation in the direction of the undersampling leads to a more ill-conditioned reconstruction matrix and higher SNR penatly. Also, regions will little difference betweeen RF coils (typically in the center of the body), also tend to have larger SNR penalties.\n", + "There is an SNR penalty when using these methods that varies in severity depending on the conditioning of the undersampled reconstruction matrix. Variation in RF coil element sensitivity profiles in the direction of the undersampling leads to a more well-conditioned reconstruction and lower SNR penalty. Conversely, less RF coil element sensitivity profile variation in the direction of the undersampling leads to a more ill-conditioned reconstruction matrix and higher SNR penalty. Also, regions will little difference between RF coils (typically in the center of the body), also tend to have larger SNR penalties.\n", "\n", "This is characterized by the geometry factor, or \"g-factor\", where $g(\\vec{r}) \\geq 1$ characterizes a spatially-varying SNR loss that is dependent on the coil loading and geometry, k-space sampling pattern, and parallel imaging reconstruction method. When appyling an acceleration factor of $R$, the total readout time reduces the SNR by $\\sqrt{R}$ as well, leading to the SNR relationship:\n", "\n", diff --git a/Notebooks/Advanced Image Reconstruction.ipynb b/Notebooks/Advanced Image Reconstruction.ipynb index 2e2a160..62669b7 100644 --- a/Notebooks/Advanced Image Reconstruction.ipynb +++ b/Notebooks/Advanced Image Reconstruction.ipynb @@ -112,7 +112,7 @@ "\n", "### Linear Predictability Methods\n", "\n", - "Linear predictability parallel imaging methods assume that each k-space sample is a linear combination of other k-space samples and inlcude the methods of AUTO-SMASH, GRAPPA, and SPIRiT. These utilize a calibration kernel, computed from the data itself and captured in the matrix $\\mathbf{G}$, and can be generally formulated as the following optimization problem\n", + "Linear predictability parallel imaging methods assume that each k-space sample is a linear combination of other k-space samples and include the methods of AUTO-SMASH, GRAPPA, and SPIRiT. These utilize a calibration kernel, computed from the data itself and captured in the matrix $\\mathbf{G}$, and can be generally formulated as the following optimization problem\n", "\n", "$$\\mathbf{\\hat{x}}_{PI} = \\arg \\min_\\mathbf{x} \\| \\mathbf{y} - \\mathbf{Ex} \\|^2_2 + \\lambda \\| (\\mathbf{G} - \\mathbf{I}) \\mathbf{x} \\|^2_2$$\n", "\n", @@ -159,7 +159,7 @@ "\n", "However, so-called un-rolled networks have become more popular for MRI reconstruction, as they can better incorporate parallel imaging information, data consistency, and also are often more compact. They are designed to mimic iterations of classical algorithms to solve optimization problems, and each iteration has been \"un-rolled\" into a series of cascaded neural networks. Some popular methods include MoDL and Variational Networks. \n", "\n", - "Variational Networks (VarNets) for undersampled MRI reconstruction are formulated as the above regularlized least-squares objective, but models the architecture after a single gradient update in iterative gradient descent (used to solve optimization problems) and uses a CNN (e.g. UNet) within the iterations\n", + "Variational Networks (VarNets) for undersampled MRI reconstruction are formulated as the above regularized least-squares objective, but models the architecture after a single gradient update in iterative gradient descent (used to solve optimization problems) and uses a CNN (e.g. UNet) within the iterations\n", "\n", "The Model-based Deep Learning (MoDL) method uses the formulation where the regularizer is a CNN that estimates the noise and aliasing patterns\n", "\n", @@ -189,7 +189,7 @@ "\n", "### Reference\n", "\n", - "For a recent, comprehensive reference on these methods I reccommend:\n", + "For a recent, comprehensive reference on these methods I recommend:\n", "\n", "Hammernik K, Küstner T, Yaman B, Huang Z, Rueckert D, Knoll F, Akçakaya M. Physics-Driven Deep Learning for Computational Magnetic Resonance Imaging: Combining physics and machine learning for improved medical imaging. IEEE Signal Process Mag. 2023 Jan;40(1):98-114. doi: 10.1109/msp.2022.3215288. Epub 2023 Jan 2. PMID: 37304755; PMCID: PMC10249732.\n", "\n", diff --git a/Notebooks/Advanced SNR.ipynb b/Notebooks/Advanced SNR.ipynb index 17fb591..9a41c2c 100644 --- a/Notebooks/Advanced SNR.ipynb +++ b/Notebooks/Advanced SNR.ipynb @@ -22,7 +22,7 @@ "\n", "$$SNR \\propto \\frac{ \\int_0^{T_{read}} \\exp(-\\tau / T_2^*) d\\tau } { \\sqrt{T_{read}} }$$\n", "\n", - "$T_{read}$ is the readout duration, the numerator the signal acquired during this readout time, and the demoninator captures how the total noise scales with the square root of measurement time. \n", + "$T_{read}$ is the readout duration, the numerator the signal acquired during this readout time, and the denominator captures how the total noise scales with the square root of measurement time. \n", "\n", "The above equation applieds for a one-sided decay, as in a gradient echo, while the following applies in the case of two-sided T2* decay, as in a spin echo:\n", "\n", diff --git a/Notebooks/Artifacts.ipynb b/Notebooks/Artifacts.ipynb index e00d5cb..97464c0 100644 --- a/Notebooks/Artifacts.ipynb +++ b/Notebooks/Artifacts.ipynb @@ -35,7 +35,7 @@ "|---|---|---|---|---|\n", "| Aliasing | Sequence - FOV too small, or parallel imaging failed | Signal folds across image | Increase FOV, swap PE/FE, reacquire sensitivity maps or reduce acceleration factor (parallel imaging) | Phase encoding |\n", "| Gibbs Ringing/Truncation | Sequence - due to Fourier encoding of edges | Ripples/ringing at sharp edges | Filtering of data, decrease voxel size | N/A |\n", - "| Boundary Artifacts/Partial Volume | Sequence and Sample - opposing phase of $M_{XY}$ within a voxel due to inversion or chemical shift | Artificial dark lines at tissue boundaries | fat suppresion, fat/water imaging, change inversion time | N/A |\n", + "| Boundary Artifacts/Partial Volume | Sequence and Sample - opposing phase of $M_{XY}$ within a voxel due to inversion or chemical shift | Artificial dark lines at tissue boundaries | fat suppression, fat/water imaging, change inversion time | N/A |\n", "| Fat Displacement | Sample - chemical shift (fat) | Shifts of fat signals in image | Increase bandwidths, fat suppression, fat/water imaging, swap PE/FE | Frequency encoding (2DFT), Phase encoding (EPI) |\n", "| Off-resonance Distortion | Sample - off-resonance (e.g. magnetic susceptibility differences) | Stretch and Compression in image | Increase bandwidths, shimming, swap PE/FE | Frequency encoding (2DFT), Phase encoding (EPI) |\n", "| Slice Displacement | Sample - chemical shift (fat) and off-resonance (e.g. magnetic susceptibility differences) | Slice location shifts | Increase RF bandwidth, shimming, use 3D scanning | N/A | \n", @@ -43,7 +43,7 @@ "| Motion/Flow | Sample - signal modulated during spatial encoding | Copies or \"Ghosts\" of image regions that are changing due to motion or flow | Breath-hold, gating, triggering, flow compensation, spatial saturation, swap PE/FE | Phase encoding |\n", "| Spike Noise | System - intermittent unwanted signal | Specific spatial frequency on top of entire image | check RF hardware (loose connections, broken components) | N/A |\n", "| RF interference/Zipper | System - unwanted frequencies received in data | Line of noisy signal on top of image | RF shielding (e.g. close door), check RF hardware, check room lights | At a specific frequency encoding location |\n", - "| Dielectric Shading | System - RF propogates unevenly, creating B1 inhomogeneity | Shading across entire image, particularly with large FOVs and higher B0 | B1-insensitive pulse sequences (e.g. adiabatic pulses), image bias field corrections | N/A |\n", + "| Dielectric Shading | System - RF propagates unevenly, creating B1 inhomogeneity | Shading across entire image, particularly with large FOVs and higher B0 | B1-insensitive pulse sequences (e.g. adiabatic pulses), image bias field corrections | N/A |\n", "| Gradient non-linearity | System - magnetic field gradients are not linear, especially away from isocenter | Distortion of subject, particularly near edges of large FOV | Gradient warping correction | N/A |\n", "\n", "\n", "\n", @@ -351,7 +351,7 @@ "\n", "#### EPI Sampling\n", "\n", - "In EPI sampling, the phase accumulation occurs primarily during phase encoding, which is by convention defined as $k_y$. Assume that the phase during frequency encoding is negligible, and use the relationship that $k_y(t) = \\Delta k_y t / t_{esp} = \\frac{BW_{PE}}{FOV_y} t$ (again, neglecting an constant offset that leads to a constant phase offset). Here, a phase encoding bandwidth is now defined as the inverse of the echo spcaing $BW_{PE} = 1 / t_{esp}$.\n", + "In EPI sampling, the phase accumulation occurs primarily during phase encoding, which is by convention defined as $k_y$. Assume that the phase during frequency encoding is negligible, and use the relationship that $k_y(t) = \\Delta k_y t / t_{esp} = \\frac{BW_{PE}}{FOV_y} t$ (again, neglecting an constant offset that leads to a constant phase offset). Here, a phase encoding bandwidth is now defined as the inverse of the echo spacing $BW_{PE} = 1 / t_{esp}$.\n", "\n", "$$\\upsilon(k_x,k_y) = \\frac{FOV_y}{BW_{PE}} k_y$$\n", "\n", diff --git a/Notebooks/Pulse Sequence.ipynb b/Notebooks/Pulse Sequence.ipynb index dfe1993..4d7d231 100644 --- a/Notebooks/Pulse Sequence.ipynb +++ b/Notebooks/Pulse Sequence.ipynb @@ -51,7 +51,7 @@ "### Data acquisition window (DAQ)\n", "\n", "The data acquisition window indicates when signals are being measured and recorded off of the RF receive coils. This must be done after excitation, and is done in conjunction with magnetic field gradients to perform spatial encoding.\n", - "It is important to remeber when looking at the data acquisition window that it is the **transverse** magnetization ($M_{XY}$) that is measured.\n", + "It is important to remember when looking at the data acquisition window that it is the **transverse** magnetization ($M_{XY}$) that is measured.\n", "\n", "![DAQ](images/pulse_sequence-DAQ.png)\n" ] @@ -81,7 +81,7 @@ "\n", "### Simplified diagrams\n", "\n", - "For analyzing in particular image contrast and relaxation, it is often helpful to use a simplified pulse sequence diagram that only includes RF pulses and data acquisition windows. Sometimes, simlified representation of gradients are added as well (e.g. crushers to indicate purposeful destruction of transverse magnetization).\n", + "For analyzing in particular image contrast and relaxation, it is often helpful to use a simplified pulse sequence diagram that only includes RF pulses and data acquisition windows. Sometimes, simplified representation of gradients are added as well (e.g. crushers to indicate purposeful destruction of transverse magnetization).\n", "\n", "Also, pulse sequence diagrams are often drawn with idealized gradient shapes of rectangles, indicating the magnetic field gradients are instantaneously changed. In reality, there is some minimum time required for magnetic field gradients to change, defined by their \"slew rate\", which turns the rectangles into trapezoids.\n", "\n", diff --git a/Notebooks/RF Pulses.ipynb b/Notebooks/RF Pulses.ipynb index c29d1ac..c57740a 100644 --- a/Notebooks/RF Pulses.ipynb +++ b/Notebooks/RF Pulses.ipynb @@ -6,7 +6,7 @@ "source": [ "# RF Pulses\n", "\n", - "The purpose of appling RF magnetic fields is to excite the spins. Equivalently, this RF energy aims to flip the net magnetization.\n", + "The purpose of applying RF magnetic fields is to excite the spins. Equivalently, this RF energy aims to flip the net magnetization.\n", "This RF energy is referred to as an RF pulse, since the RF energy is applied for a short period of time and then switched off.\n", "\n", "## Learning Goals\n", @@ -25,7 +25,7 @@ "source": [ "## How RF Pulses are Used in MRI\n", "\n", - "Fundamentally, RF pulses are used to flip the net magnetization. This creates signal and also manipultes contrast. Also, applying magnetic field gradients during an RF pulse will create slice selection.\n", + "Fundamentally, RF pulses are used to flip the net magnetization. This creates signal and also manipulates contrast. Also, applying magnetic field gradients during an RF pulse will create slice selection.\n", "\n", "## Types of RF Pulses\n", "\n", diff --git a/Notebooks/Slice Selection.ipynb b/Notebooks/Slice Selection.ipynb index dfa4d96..031cc4e 100644 --- a/Notebooks/Slice Selection.ipynb +++ b/Notebooks/Slice Selection.ipynb @@ -37,7 +37,7 @@ "source": [ "## Slice Selective RF Pulses\n", "\n", - "The goal in slice selection is to excite a limited region in space, commonly refered to as a slice or slab. (The term \"Slab selection\" typically refers to exciting a larger slice in 3D imaging.)\n", + "The goal in slice selection is to excite a limited region in space, commonly referred to as a slice or slab. (The term \"Slab selection\" typically refers to exciting a larger slice in 3D imaging.)\n", "\n", "### Pulse Design\n", "\n", diff --git a/Notebooks/Spin Physics.ipynb b/Notebooks/Spin Physics.ipynb index 5b425c0..5ad3874 100644 --- a/Notebooks/Spin Physics.ipynb +++ b/Notebooks/Spin Physics.ipynb @@ -7,7 +7,7 @@ "source": [ "# Spin Physics\n", "\n", - "To understand MRI, we must delve into physics and understand what is fundamentally being measured by MRI, which are nuclear \"spins\", and how they behave in a magnetic field which includes the resonance phenomenom that forms the basis of MRI. A key concept is the \"Net Magnetization\" $\\vec{M}$ which is the sum of all the spins in a given volume. This chapter provides a higher level overview of these concepts, and a more rigorous mathematical description is provided in the Bloch Equation chapter." + "To understand MRI, we must delve into physics and understand what is fundamentally being measured by MRI, which are nuclear \"spins\", and how they behave in a magnetic field which includes the resonance phenomenon that forms the basis of MRI. A key concept is the \"Net Magnetization\" $\\vec{M}$ which is the sum of all the spins in a given volume. This chapter provides a higher level overview of these concepts, and a more rigorous mathematical description is provided in the Bloch Equation chapter." ] }, { @@ -46,9 +46,9 @@ "\n", "In the absence of a magnetic field, nuclear spins will be randomly aligned. However when spins experience a magnetic field, they will preferentially align with that magnetic field. In MRI, we cannot measure individual spins, but we observe the ensemble of spins, which is is known as the Net Magnetization, $\\vec{M}(\\vec{r},t)$. \n", "\n", - "| ![Distribution of spins in the absense of a magnetic field](images/MagSpherical2.jpg) | ![Distribution of spins in the presence of a magnetic field](images/MagPrecession2.jpg) |\n", + "| ![Distribution of spins in the absence of a magnetic field](images/MagSpherical2.jpg) | ![Distribution of spins in the presence of a magnetic field](images/MagPrecession2.jpg) |\n", "| :-: | :-: |\n", - "| Distribution of spins in the absense of a magnetic field | Distribution of spins after application of a strong magnetic field that polarizes the spins as reflected in increased density of arrows in the direction of the field (here vertical). The large arrow pointing up represents the sum of all these spins, or the Net Magnetization. |\n", + "| Distribution of spins in the absence of a magnetic field | Distribution of spins after application of a strong magnetic field that polarizes the spins as reflected in increased density of arrows in the direction of the field (here vertical). The large arrow pointing up represents the sum of all these spins, or the Net Magnetization. |\n", "\n", "\n", " Source https://www.drcmr.dk/mr" @@ -116,7 +116,7 @@ "source": [ "## Resonance\n", "\n", - "When in a mangetic field, spins and therefore the net magnetization experience magnetic resonance, which means they will respond strongly to a specific frequency of electromagnetic fields.\n", + "When in a magnetic field, spins and therefore the net magnetization experience magnetic resonance, which means they will respond strongly to a specific frequency of electromagnetic fields.\n", "\n", "An analogy for resonance is to consider a swing: In order to swing higher and higher, you must move your legs back and forth at the right rate. If you move your legs at the wrong rate, you will simply not move much higher.\n", "\n", @@ -154,7 +154,7 @@ "\n", "### Precession \n", "\n", - "Precession refers to the rotation of the spins and therefore the net magnetization around the magnetic field. This precession is part of the magnetic resonance phenomenom and is what creates signal in MRI. The spins and net magnetization will rotate around the magnetic field, with the resonance frequency.\n", + "Precession refers to the rotation of the spins and therefore the net magnetization around the magnetic field. This precession is part of the magnetic resonance phenomenon and is what creates signal in MRI. The spins and net magnetization will rotate around the magnetic field, with the resonance frequency.\n", "\n", "![RF reception](images/RF_reception.gif)\n", "\n",