🟢: ISMRM 2022 presentation: My abstract presentation is now uploaded here!

Build status Docs DOI

KomaMRI.jl (formerly MRIsim.jl), whose name comes from the Japanese word for spinning-top こま (ko-ma) as they precess due to gravity like spins in a magnetic field.

This package is meant to simulate general Magnetic Resonance Imaging (MRI) scenarios that could arise in pulse sequence development.

☰ Roadmap

v1.0:

  • Phantom and Sequence data-types,
  • Spin preccesion in gradient-only blocks (simulation optimization),
  • GPU accelaration using CUDA.jl,
  • RF excitation,
  • GPU accelaration of RF excitation,
  • Scanner data-type: , etc.,
  • Pulseq IO,
  • Signal "Raw Output" dictionary (ISMRMRD),
  • MRIReco.jl for the reconstruciton,
  • Documentation,
  • decay,
  • Auxiliary Pulseq functions,
  • Coil sensitivities,
  • Cardiac phantoms, and triggers.

Next:

  • Diffusion models with Laplacian Eigen Functions,
  • Magnetic susceptibility,
  • Use PackageCompiler.jl to build a ditributable core or app.

Installation

To install just write the following in the Julia REPL:

] add KomaMRI

First run

KomaMRI.jl comes with a handy GUI that contains a brain phantom with an EPI sequence. To open it use:

KomaUI()

Press the button that says "Simulate!" to do your first simulation :). Then, a notification emerge telling you that the simulation was successful. In this notification, you can either select to (1) see the Raw signal or (2) to procced with the reconstruction.

How to cite

If you use this package please acknowledge us by citing (paper being reviewed! 👷‍♂️):

@software{carlos_castillo_passi_2021_5507370,
  author       = {Castillo-Passi, Carlos and Irarrazaval, Pablo},
  title        = {cncastillo/KomaMRI.jl},
  month        = sep,
  year         = 2021,
  publisher    = {Zenodo},
  version      = {v0.6.0},
  doi          = {10.5281/zenodo.6627503},
  url          = {https://doi.org/10.5281/zenodo.6627503}
}

Koma GUI

Koma’s GUI: (a) Sequence, (b) k-space, (c) Phantom, (d) Raw Data, (e) Image, and (f) k-space data (Fourier transform of (e)).