{"id":197,"date":"2023-03-08T20:16:50","date_gmt":"2023-03-08T20:16:50","guid":{"rendered":"https:\/\/zeugmatographix.org\/ocra\/?p=197"},"modified":"2023-03-08T20:16:52","modified_gmt":"2023-03-08T20:16:52","slug":"relax2-0-a-graphical-user-interface-for-ocra","status":"publish","type":"post","link":"https:\/\/zeugmatographix.org\/ocra\/2023\/03\/08\/relax2-0-a-graphical-user-interface-for-ocra\/","title":{"rendered":"Relax2.0, a graphical user interface for OCRA"},"content":{"rendered":"\n<p>Hello OCRA and Tabletop community,<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>Relax2.0 can be downloaded from our OpenMRI\/ocra\/Applications GitHub repository.<\/p>\n\n\n\n<p><strong>Main Features<\/strong><\/p>\n\n\n\n<p><strong>A simple graphical user interface<\/strong> 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.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-013220_1920x1080_scrot-1024x576.png\" alt=\"\" class=\"wp-image-198\" srcset=\"https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-013220_1920x1080_scrot-1024x576.png 1024w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-013220_1920x1080_scrot-300x169.png 300w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-013220_1920x1080_scrot-768x432.png 768w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-013220_1920x1080_scrot-1536x864.png 1536w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-013220_1920x1080_scrot.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Image1: Relax2.0 main window and the parameters window.<\/figcaption><\/figure>\n\n\n\n<p><strong>Global parameters<\/strong> 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&#8217;s start-up. System parameters include Larmor (center) frequency, reference attenuation (90\u00b0 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.<\/p>\n\n\n\n<p><strong>Spectroscopy<\/strong> 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.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-013248_1920x1080_scrot-1024x576.png\" alt=\"\" class=\"wp-image-199\" srcset=\"https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-013248_1920x1080_scrot-1024x576.png 1024w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-013248_1920x1080_scrot-300x169.png 300w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-013248_1920x1080_scrot-768x432.png 768w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-013248_1920x1080_scrot-1536x864.png 1536w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-013248_1920x1080_scrot.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">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).<\/figcaption><\/figure>\n\n\n\n<p><strong>Projections<\/strong> 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).<\/p>\n\n\n\n<p><strong>Imaging<\/strong> 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.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"728\" src=\"https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/Screen05-1024x728.png\" alt=\"\" class=\"wp-image-201\" srcset=\"https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/Screen05-1024x728.png 1024w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/Screen05-300x213.png 300w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/Screen05-768x546.png 768w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/Screen05.png 1340w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">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.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-042541_1920x1080_scrot-1024x576.png\" alt=\"\" class=\"wp-image-204\" srcset=\"https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-042541_1920x1080_scrot-1024x576.png 1024w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-042541_1920x1080_scrot-300x169.png 300w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-042541_1920x1080_scrot-768x432.png 768w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-042541_1920x1080_scrot-1536x864.png 1536w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-042541_1920x1080_scrot.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Image4: 2D SE imaging  with slice selection of a 3D printed &#8220;vein&#8221; phantom in a 10mm chemical test tube.<\/figcaption><\/figure>\n\n\n\n<p><strong>T1\/T2 measurements<\/strong> will automatically measure the MR material parameters. The measurement limits and amount of measuring steps can be set in the parameter window.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-042646_1920x1080_scrot-1024x576.png\" alt=\"\" class=\"wp-image-202\" srcset=\"https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-042646_1920x1080_scrot-1024x576.png 1024w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-042646_1920x1080_scrot-300x169.png 300w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-042646_1920x1080_scrot-768x432.png 768w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-042646_1920x1080_scrot-1536x864.png 1536w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-21-042646_1920x1080_scrot.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Image4: T1 measurement of a water sample.<\/figcaption><\/figure>\n\n\n\n<p><strong>Tools<\/strong> will help set up the OCRA Tabletop MRI system and automatically search for the Larmor frequency, set up the reference RF pulse attenuation (90\u00b0 flip) or find the right shim values for B0 shimming.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-25-135132_1920x1080_scrot-1024x576.png\" alt=\"\" class=\"wp-image-203\" srcset=\"https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-25-135132_1920x1080_scrot-1024x576.png 1024w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-25-135132_1920x1080_scrot-300x169.png 300w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-25-135132_1920x1080_scrot-768x432.png 768w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-25-135132_1920x1080_scrot-1536x864.png 1536w, https:\/\/zeugmatographix.org\/ocra\/wp-content\/uploads\/2023\/03\/2020-06-25-135132_1920x1080_scrot.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">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.<\/figcaption><\/figure>\n\n\n\n<p><strong>Save raw and image data<\/strong> and <strong>reload raw data<\/strong> for reconstruction. You can try the GUI in offline mode to thest it or reconstruct raw data.<\/p>\n\n\n\n<p>I will show how to set up the Relax2.0 software in the next blog.<\/p>\n\n\n\n<p>If you have questions about the OCRA Tabletop MRI system or OCRA components, contact me via <a href=\"https:\/\/mail.google.com\/mail\/?view=cm&amp;fs=1&amp;tf=1&amp;to=marcus.prier@ovgu.de\" target=\"_blank\" rel=\"noopener\">marcus.prier@ovgu.de<\/a>.<\/p>\n\n\n\n<p>Best Regards<\/p>\n\n\n\n<p>Marcus<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"entry-summary\">\nHello 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&hellip;\n<\/div>\n<div class=\"link-more\"><a href=\"https:\/\/zeugmatographix.org\/ocra\/2023\/03\/08\/relax2-0-a-graphical-user-interface-for-ocra\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &ldquo;Relax2.0, a graphical user interface for OCRA&rdquo;<\/span>&hellip;<\/a><\/div>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[16,37,36,12,19,25,11,26],"class_list":["post-197","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-mri","tag-mri-gui","tag-mri-software","tag-ocra","tag-open-source","tag-ovgu","tag-stimulate","tag-tabletop-mri","entry"],"acf":[],"_links":{"self":[{"href":"https:\/\/zeugmatographix.org\/ocra\/wp-json\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zeugmatographix.org\/ocra\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zeugmatographix.org\/ocra\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zeugmatographix.org\/ocra\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zeugmatographix.org\/ocra\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":6,"href":"https:\/\/zeugmatographix.org\/ocra\/wp-json\/wp\/v2\/posts\/197\/revisions"}],"predecessor-version":[{"id":211,"href":"https:\/\/zeugmatographix.org\/ocra\/wp-json\/wp\/v2\/posts\/197\/revisions\/211"}],"wp:attachment":[{"href":"https:\/\/zeugmatographix.org\/ocra\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zeugmatographix.org\/ocra\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zeugmatographix.org\/ocra\/wp-json\/wp\/v2\/tags?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}