This page is no longer updated

ECE 381V (#17645) / CSE 397 (#63019) – Computational Magnetic Resonance Imaging – Spring 2023



Python

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.

Installation

The easiest way to install Python is through Anaconda: anaconda.com or Miniconda: miniconda.com. 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

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:

A short, interactive introduction to Python and Jupyter Notebook is available here: [html] [Notebook file]

JupyterLab

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

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

Scipy

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

Matplotlib

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

Resources


Generated by jon-doc