EE 381V / CSE 397 Computational Magnetic Resonance Imaging – Spring 2021


We will use Python in the class for simulation and analysis. Matlab was (and still is) the dominant tool of choice for MRI researchers. However, with the growth of open-source software and machine learning in particular, Python has begun to supplant Matlab.


The easiest way to install Python is through Anaconda: or Miniconda: This works for Windows, Mac, and Linux, and can help you install all the required packages.

It is recommended to download and install the Python 3.7 version.


IPython is a command shell for interactive computing in multiple programming languages, especially focused on the Python programming language, that offers enhanced introspection, rich media, additional shell syntax, tab completion, and rich history.

Jupyter Notebook

Jupyter Notebook is a web-based interactive computational environment where you can combine code execution, text, mathematics, plots and rich media into a single document:


JupyterLab is a web-based interactive development environment for Jupyter notebooks, code, and data. JupyterLab is flexible: configure and arrange the user interface to support a wide range of workflows in data science, scientific computing, and machine learning. JupyterLab is extensible and modular: write plugins that add new components and integrate with existing ones.


NumPy is the fundamental package for scientific computing with Python. It contains among other things:


The SciPy library is a collection of numerical algorithms and domain-specific toolboxes, including signal processing, optimization, statistics and much more.


Matplotlib is a python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms.


Generated by jon-doc