Relax2.0, a graphical user interface for OCRA

Hello OCRA and Tabletop community,

In this blog post, I will share the news about the first GitHub publication of my Relax2.0 graphical user interface (GUI) for OCRA. Relax2.0 is based on the original OCRA server for the Red Pitaya by Thomas Witzel and the PyQt GUI Relax by David Schote.

Relax2.0 can be downloaded from our OpenMRI/ocra/Applications GitHub repository.

Main Features

A simple graphical user interface to execute magnetic resonance spectroscopy and imaging (NMR and MRI). Choose the modality and sequence to measure with our OCRA Tabletop MRI system or use the Red Pitaya and OCRA1 with your custom MRI system. Acquire raw data and reconstruct spectra or images. All spectra or images are plotted in separate windows to allow comparisons between acquisitions with different parameters or sequences.

Image1: Relax2.0 main window and the parameters window.

Global parameters for all basic functions can be set in a separate parameter window. Values are stored in a file on every change and loaded at the next session’s start-up. System parameters include Larmor (center) frequency, reference attenuation (90° flip), shim currents for all gradient channels and more. MR parameters like TE time, sampling time, image orientation, image resolution, field-of-view (FOV) and many more will give you control over you spectrum or image acquesition. Some values, like gradient amplitudes or frequency offsets, are automatically calculated based on parameters like sampling time, FOV, RF pulse length or slice offset. These computed values update on parameter change. Calculated values can be overwritten manually of cause.

Spectroscopy will give the response of the test sample to the RF excitation without spatial information (0D). You can choose from sequences like free induction decay (FID), spin echo (SE), and some more advanced sequences like saturation inversion recovery (SIR) and turbo spin echo (TSE). Also, helpful MR test sequences for RF or gradients can be found here.

Image2: Spin echo spectroscopy of a water sample. On top, the spectrum is reconstructed from the time signal (bottom). The plot values window gives additional information like the center frequency or signal-to-noise ratio (SNR).

Projections show the one-dimensional (1D) line plot of the test sample. You can choose isometric projections (X, Y, and Z) or arbitrary angles in all planes (XY, YZ, ZX).

Imaging summarises all sequences for two or three dimensions MR imaging (2D and 3D). Basic 2D imaging like gradient echo (GRE) and SE imaging, but also radial imaging or 3D FFT imaging. First implementations of turbo spin echo (TSE) imaging and echo planar imaging (EPI) are made too.

Image3: Spin echo imaging (2D SE, 256x256pixel) of a 3D printed test sample with our OCRA Tabletop MRI system. The chemical test tube is 10mm in diameter, the system will fit tubes up to 15mm.
Image4: 2D SE imaging with slice selection of a 3D printed “vein” phantom in a 10mm chemical test tube.

T1/T2 measurements will automatically measure the MR material parameters. The measurement limits and amount of measuring steps can be set in the parameter window.

Image4: T1 measurement of a water sample.

Tools will help set up the OCRA Tabletop MRI system and automatically search for the Larmor frequency, set up the reference RF pulse attenuation (90° flip) or find the right shim values for B0 shimming.

Image5: Tools window and the plot from the shim tool. The maxima will give the best shim current for every gradient channel. You can iterate the shimming to get more precise currents, as the shims influence each other.

Save raw and image data and reload raw data for reconstruction. You can try the GUI in offline mode to thest it or reconstruct raw data.

I will show how to set up the Relax2.0 software in the next blog.

If you have questions about the OCRA Tabletop MRI system or OCRA components, contact me via marcus.prier@ovgu.de.

Best Regards

Marcus

0 thoughts on “Relax2.0, a graphical user interface for OCRA

Leave a Reply

Your email address will not be published. Required fields are marked *