Git Product home page Git Product logo

mr-sequence-diagrams's Introduction

Pulse Sequence Graphics

The files found in this repository were originally created by Mark J White for his PhD Thesis and were hosted at his website celos.net, which unfortunately does not exist anymore. A snapshot is available in the Internet Archive here, though. According to his website: You’re free to use, modify or copy the files in any way you like, as long as you credit Mark with copyright and authorship for the bits he wrote, and understand that it comes without any kind of guarantee. As a further note: Two of the macros found in pulses.mp, namely tablegrf and xtablegr were written by T. A. Wilkinson and can be found in his blog here.

This repository contains a MetaPost file called pulses.mp which contains a set of macros for easily generating MR Pulse Sequence Diagrams programatically. It also contains a file called seq.mp with examples of how to use the macros.

To generate example images from those files simply run:

mpost seq.mp

It as assumed that MetaPost is installed in the system, which should be the case if you have a proper LaTeX distribution. Should ImageMagick also be installed, it is possible to convert images to PNG by calling convert -density 300 input.mps output.png. Alternatively, to include .mps files directly into a LaTeX file you can use the graphicx package and add a \includegraphics{input.mps} wherever the figure should be included.

Examples

FID Acquisition

./images/figs-0.png

Spin Echo Fragment

./images/figs-1.png

Gradient Echo Fragment

./images/figs-2.png

Slice Selection Fragment

./images/figs-3.png

Readout Encoding Fragment

./images/figs-4.png

Phase Encoding Fragment with Spin Echo

./images/figs-5.png

Multislice SE volume acquisition

./images/figs-6.png

3D GRE with EPI Factor 3

./images/figs-7.png

Echo Symbol

./images/figs-100.png

mr-sequence-diagrams's People

Contributors

dangom avatar

Watchers

James Cloos avatar Tonye Fiberesima avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.