Open-source pulse sequences  
Easily create and execute MR sequences
All Pages
Introduction

Pulseq project is an open source framework for the development and execution of magnetic resonance (MR) pulse sequences for imaging and spectroscopy. In summary, with Pulseq MR sequences can be programmed directly in MATLAB or Python, exported to the Pulseq file format and executed on real hardware.

There are two main flavours of Pulseq: MATLAB Pulseq Toolbox, available under the source part of this repository, and Python Pulseq Toolbox, a.k.a. PyPulseq, which is maintained in a separate repository (see below).

Pulseq file format

A central contribution of this project is an open file format to compactly describe MR sequences suitable for execution on an MRI scanner. The detailed file specification can be obtained here: specification.pdf; see also the Docs tab for further information.

Source code repository

The source code in this repository provides the Pulseq toolbox and example implementations of several MR pulse sequences in Pulseq format. The code is divided into MATLAB and C++ sections. The C++ part is potentially interesting to those seeking to implement their own Pulseq interpreter for a particular scanner.

Matlab sequence examples

Scanner implementations

Currently, Pulseq sequences can be executed on the following platforms. Please contact us if you would like to run open and flexible sequences at your institution.

Additionally, there are two implementations of the Philips interpreter published in the ISMRM 2024 proceedings: #3243 and #3251 . Please contact the authors if ypu are interested in receiving one of these interpreters.

Download source code

Matlab

Both MATLAB and C++ source code is available here: https://github.com/pulseq/pulseq. Alternatively, you may consider cloning the git repository directly:

git clone git@github.com:pulseq/pulseq.git

Python

PyPulseq is an alternative implementaton of the Pulseq sequence toolbox in Python, with a very similar syntax and functionality, originally implemented by Sairam Geethanath and Keerthi Ravi and maintained by an active developer community. It can be clonned from the GutHub site or installed directly via pip. See PyPulseq GitHub Repository for more details.