Skip to content

Code for reproducing the paper "Beat Pilot Tone (BPT): Simultaneous MR Imaging and RF Motion Sensing at Arbitrary Frequencies"

Notifications You must be signed in to change notification settings

mikgroup/bpt_paper

Repository files navigation

Beat Pilot Tone: Simultaneous MR Imaging and Radio-Frequency Motion Sensing at Arbitrary Frequencies

Authors: Suma Anand1, Michael Lustig1

1 University of California, Berkeley

The notebook figure_plotting.ipynb reproduces the figures and processing from the manuscript "Beat Pilot Tone: Simultaneous MR Imaging and Radio-Frequency Motion Sensing at Arbitrary Frequencies" submitted to Magnetic Resonance in Medicine. The notebook estimate_bulk_motion.ipynb shows an example of image registration code used to generate Figure S2.

A preprint of this paper is on arXiv.

Author of this code: Suma Anand, sanand@berkeley.edu

Instructions

Method 1: Google Colab (recommended!)

To run this notebook in Google Colab, click on this link. Alternatively, you can double click on the notebook in your browser and click on the "Open in Colab" icon. After you've opened the notebook, run all the cells. Note that this requires you to sign in with a Google account.

Method 2: Clone and install conda environment

This method requires having conda and git installed. To install conda, follow the installation instructions at this link or for whichever operating system you have. You may have to add the conda installation directory to $PATH to ensure commands work normally. If you don't have git installed, install it with the below command on Linux systems:

sudo apt install -y git

To run the notebook locally, clone the repo, install the conda environment and launch Jupyter Lab:

git clone https://github.com/mikgroup/bpt_paper.git
cd bpt_paper
conda env create -f bpt_paper_env.yml
conda activate bpt_env
jupyter lab

If the activation command does not work, you can also try:

source activate bpt_paper_env

or:

activate bpt_paper_env

Then, you can run through all the cells EXCEPT for the first one, which is required only for Google Colab. Note: Method 2 may fail on Mac or Windows; it has been tested on a Linux machine running Ubuntu 20.04.6 LTS.

About

Code for reproducing the paper "Beat Pilot Tone (BPT): Simultaneous MR Imaging and RF Motion Sensing at Arbitrary Frequencies"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published