This is Jupyter notebook/python code developed for a UW-Madison introductory MRI class. The notebooks were made to support Google colab markdown but they should also open up in a standard jupyter enviroment. Most notebooks have a link on top of the page to allow you to open it directly from github.
- Intro to Bloch Solvers : This notebooks introduces two ways to simulate the Bloch equations using either standard solvers or solvers assuming periods of free relaxation.
- Spoiled Gradient Echo : This notebook simulates spoiled gradient echo as a means to create contrast in images.
- Spin Echo : This notebook simulates spin echo as a means to create contrast in images.
- Basic Images : The notebook simulated basic spin and gradient echo images for a digital brain phantom.
- Spatial Selective RF : This uses sinc pulses to investigate the tradeoffs in RF pulse choices.
- Cartesian Sampling : This uses fake data to examine undersampling and reconstruction.
- Cartesian Sampling Real Data : This uses real data to examine undersampling and reconstruction.
- Magnetic Field Generation : Code to create magnetic fields from loops of wire.
- Variation Networks : Toy example of using model based machine learning reconstruction to reconstruction images with reduced artifacts.
- Compressed Sensing : Example using parallel imaging and compressed SENSING
- EPI Distortions : Python code to simulate EPI distortions using brute force forward model with off-resonance.
- Spiral Distortions : Python code to simulate spiral distortions using brute force forward model with off-resonance.
- Complex Demodulation : Python code which shows the basic steps to convert real valued detected signal to complex signal in the rotating frame.