DRCMR Logo 300px Color
 

Quick start guide to the Bloch Simulator

This page provides step-by-step examples to practical use of the Bloch Simulator made for visualizing basic and advanced Magnetic Resonance techniques. The examples are spin-echo formation and the excitation process, which are also demonstrated in corresponding YouTube videos. The basic MR knowledge needed to understand the text below is described in an MRI tutorial targeted at a broad audience.

  • It is easiest to run the simulator directly in an internet browser. If you have not already started it, please do so by following this link starting the software in a new browser window: http://www.drcmr.dk/BlochSimulator
  • If you have Flash installed on your computer, you should now see the magnetization vector of an imaginary sample precessing in a magnetic field, B0, pointing upwards. You can always get back to this situation by choosing "Scene: Precession" in the pull-down menu on the lower left.
  • First try to adjust the B0 field strength by moving the slider named "B0". Notice how the precession frequency changes with the field. Think of the units as tesla, for example.

Spin-echo demonstration, step by step:

The spin echo sequence
The spin echo sequence
  • Now, let's introduce field inhomogeneity so that all nuclei do not precess at the same frequency. This can be done by choosing "Scene: Weak inhomogeneity" in the pull-down menu on the lower left. You now see the magnetization in thermal equilibrium. The floor rotates since you see this in the rotating frame of resonance which is only needed later. Therefore, shift back to the stationary frame by pressing the  "Change frame"-button.
  • Since weak inhomogeneity was selected above, the nuclei precess at different frequencies, but it does not show until the magnetization is rotated into the transversal plane. Do this by pressing the "90x hard" button (initiates 90 degree RF pulse rotating the magnetization quickly around the x-axis in the transversal plane). You should now see different components of the magnetization precessing at slightly different frequencies. Gradual dephasing leads to a loss of signal seen in the lower right graph. Press the "v" key on keyboard a few times - it toggles the viewing angle.
  • You may want to repeat the last few steps by pressing the "Scene: Weak inhomogeneity" button again and doing a new excitation. Proceed when you understand what you are seeing so far. Let's add a short 180 degree refocusing pulse to our sequence after some dephasing has occurred (press the "180y hard"-button). This will lead to the formation of a spin-echo after a period equal to the dephasing period. Notice how the nuclei get back in phase and how the lost signal is recovered.
  • This finishes the spin-echo demonstration, but you can continue experimenting with it, e.g. by playing out extra refocusing pulses or by adding a bit of relaxation using the T2-slider for example (choose a large value for T2 initially, e.g. 20 seconds). You can also watch the events in the rotating frame of resonance.

Off- and on-resonance excitation, step by step:

  • Go back to the initial situation by  choosing "Scene: Precession" in the pull-down menu on the lower left.
  • Adjust the B0 field strength by moving the slider named "B0". Notice how the precession frequency changes with the field. Set the value of B0 back to 3 by typing the value in the text field above the slider, followed by "enter". Think of the units as tesla, for example.
  • Radio waves applied off-resonance
    Radio waves applied off-resonance
    Now turn on a radio wave field. Do this by setting the RF amplitude to 0.1 using the appropriate slider or by typing the value in the corresponding text field, followed by "enter". The units are the same as for the B0 field. The red bar shows the push of the radio waves on the magnetization (the torque). Notice how the push is orthogonal to the magnetization, and how it rotates.
  • The push does not seem to have much of an effect on the magnetization. This is because the frequency of the radio waves is not matched to the Larmor frequency (the radiowaves are off-resonance). The reason for the missing effect may be easier to see in the rotating frame of reference. Press "Change frame" to toggle between viewing in the stationary and the rotating frames of reference as you wish. Notice how the magnetization is not pushed consistently by off-resonance radiowaves (in synchony with the precession). Therefore it just wiggles slightly in the radio wave field. Switch back to the stationary frame of reference.
  • Adjust the radio frequency to match the Larmor frequency simply by setting the RF frequency equal to B0 (3 in this case). This is valid since the gyromagnetic ratio in the simulator is set to 1 Hz/T (approximately). Hence the resonance frequency for a field of value 3 is simply 3. Notice how the magnetization is now gradually changed by the RF field. Watching this in the rotating frame makes it appear much simpler -- switch back and forth a few times, and notice how resonance radiowaves induces rotations in the rotating frame of reference.
  • Radio waves applied on resonance
    Radio waves applied on resonance
    Now you have seen how resonant radiowaves change the magnetization, and how off-resonant waves does not, lets start from equilibrium and do an excitation. Choose "Scene: Equilibrium". Add an RF field by setting the RF amplitude equal to 0.1. Notice how little happens since the RF frequency is not adjusted to the Larmor frequency. Adjust it as described above and see how the magnetization is rotated away from equilibirum, e.g. so it after a while points in the exact opposite directions. Similarly, on-resonance rotations away from equilibrium can be triggered by pressing the buttons labelled "90x hard", "90x selective", "180y hard" and "30x hard" that send bursts of radiowaves sufficiently long to cause the specified rotations.


The simulator can do much more. A few examples are given in YouTube videos and on the project homepage but you really need to experiment yourself to get full benefit. The "Challenges" section in the "Help" menu may also be of inspiration.

 

This page provides step-by-step examples to practical use of the Bloch Simulator made for visualizing basic and advanced Magnetic Resonance techniques. The examples are spin-echo formation and the excitation process, which are also demonstrated in corresponding YouTube videos. The basic MR knowledge needed to understand the text below is described in an MRI tutorial targeted at a broad audience.

  • It is easiest to run the simulator directly in an internet browser. If you have not already started it, please do so by following this link starting the software in a new browser window: http://www.drcmr.dk/BlochSimulator
  • If you have Flash installed on your computer, you should now see the magnetization vector of an imaginary sample precessing in a magnetic field, B0, pointing upwards. You can always get back to this situation by choosing "Scene: Precession" in the pull-down menu on the lower left.
  • First try to adjust the B0 field strength by moving the slider named "B0". Notice how the precession frequency changes with the field. Think of the units as tesla, for example.

Spin-echo demonstration, step by step:

The spin echo sequence
The spin echo sequence
  • Now, let's introduce field inhomogeneity so that all nuclei do not precess at the same frequency. This can be done by choosing "Scene: Weak inhomogeneity" in the pull-down menu on the lower left. You now see the magnetization in thermal equilibrium. The floor rotates since you see this in the rotating frame of resonance which is only needed later. Therefore, shift back to the stationary frame by pressing the  "Change frame"-button.
  • Since weak inhomogeneity was selected above, the nuclei precess at different frequencies, but it does not show until the magnetization is rotated into the transversal plane. Do this by pressing the "90x hard" button (initiates 90 degree RF pulse rotating the magnetization quickly around the x-axis in the transversal plane). You should now see different components of the magnetization precessing at slightly different frequencies. Gradual dephasing leads to a loss of signal seen in the lower right graph. Press the "v" key on keyboard a few times - it toggles the viewing angle.
  • You may want to repeat the last few steps by pressing the "Scene: Weak inhomogeneity" button again and doing a new excitation. Proceed when you understand what you are seeing so far. Let's add a short 180 degree refocusing pulse to our sequence after some dephasing has occurred (press the "180y hard"-button). This will lead to the formation of a spin-echo after a period equal to the dephasing period. Notice how the nuclei get back in phase and how the lost signal is recovered.
  • This finishes the spin-echo demonstration, but you can continue experimenting with it, e.g. by playing out extra refocusing pulses or by adding a bit of relaxation using the T2-slider for example (choose a large value for T2 initially, e.g. 20 seconds). You can also watch the events in the rotating frame of resonance.

Off- and on-resonance excitation, step by step:

  • Go back to the initial situation by  choosing "Scene: Precession" in the pull-down menu on the lower left.
  • Adjust the B0 field strength by moving the slider named "B0". Notice how the precession frequency changes with the field. Set the value of B0 back to 3 by typing the value in the text field above the slider, followed by "enter". Think of the units as tesla, for example.
  • Radio waves applied off-resonance
    Radio waves applied off-resonance
    Now turn on a radio wave field. Do this by setting the RF amplitude to 0.1 using the appropriate slider or by typing the value in the corresponding text field, followed by "enter". The units are the same as for the B0 field. The red bar shows the push of the radio waves on the magnetization (the torque). Notice how the push is orthogonal to the magnetization, and how it rotates.
  • The push does not seem to have much of an effect on the magnetization. This is because the frequency of the radio waves is not matched to the Larmor frequency (the radiowaves are off-resonance). The reason for the missing effect may be easier to see in the rotating frame of reference. Press "Change frame" to toggle between viewing in the stationary and the rotating frames of reference as you wish. Notice how the magnetization is not pushed consistently by off-resonance radiowaves (in synchony with the precession). Therefore it just wiggles slightly in the radio wave field. Switch back to the stationary frame of reference.
  • Adjust the radio frequency to match the Larmor frequency simply by setting the RF frequency equal to B0 (3 in this case). This is valid since the gyromagnetic ratio in the simulator is set to 1 Hz/T (approximately). Hence the resonance frequency for a field of value 3 is simply 3. Notice how the magnetization is now gradually changed by the RF field. Watching this in the rotating frame makes it appear much simpler -- switch back and forth a few times, and notice how resonance radiowaves induces rotations in the rotating frame of reference.
  • Radio waves applied on resonance
    Radio waves applied on resonance
    Now you have seen how resonant radiowaves change the magnetization, and how off-resonant waves does not, lets start from equilibrium and do an excitation. Choose "Scene: Equilibrium". Add an RF field by setting the RF amplitude equal to 0.1. Notice how little happens since the RF frequency is not adjusted to the Larmor frequency. Adjust it as described above and see how the magnetization is rotated away from equilibirum, e.g. so it after a while points in the exact opposite directions. Similarly, on-resonance rotations away from equilibrium can be triggered by pressing the buttons labelled "90x hard", "90x selective", "180y hard" and "30x hard" that send bursts of radiowaves sufficiently long to cause the specified rotations.


The simulator can do much more. A few examples are given in YouTube videos and on the project homepage but you really need to experiment yourself to get full benefit. The "Challenges" section in the "Help" menu may also be of inspiration.

 

Selected Publications

Madsen MAJ, Wiggermann V, Bramow S, Christensen JR, Sellebjerg F, Siebner HR. 2021. Imaging cortical multiple sclerosis lesions with ultra-high field MRI. NeuroImage. Clinical. 32:1-14. https://doi.org/10.1016/j.nicl.2021.102847

Chow HH, Talbot J, Marstrand L, Lundell H, Roman Siebner H, Bach Søndergaard H, Sellebjerg F. 2021. Smoking, cardiovascular risk factors and LRP2 gene variation: Associations with disease severity, cognitive function and brain structure in primary progressive multiple sclerosis. Multiple Sclerosis and Related Disorders. 56:1-7. https://doi.org/10.1016/j.msard.2021.103296

Ruiu E, Dubbioso R, Madsen KH, Svolgaard O, Raffin E, Andersen KW, Karabanov AN, Siebner HR. 2020. Probing Context-Dependent Modulations of Ipsilateral Premotor-Motor Connectivity in Relapsing-Remitting Multiple Sclerosis. Frontiers in Neurology. 11:1-10. Available from: 10.3389/fneur.2020.00193

Bauer C, Dyrby TB, Sellebjerg F, Madsen KS, Svolgaard O, Blinkenberg M, Siebner HR, Andersen KW. 2020. Motor fatigue is associated with asymmetric connectivity properties of the corticospinal tract in multiple sclerosis. NeuroImage. Clinical. 28:1-12. Available from: 10.1016/j.nicl.2020.102393

Lundell, H., Svolgaard, O., Dogonowski, A-M., Romme Christensen, J., Selleberg, F., Soelberg Sørensen, P., Blinkenberg, M., Siebner, H. R. & Garde, E.
Spinal cord atrophy in anterior-posterior direction reflects impairment in multiple sclerosis.
Acta Neurologica Scandinavica. 136, 4, p. 330-337, 2017.

Schreiber K, Magyari M, Sellebjerg F, Iversen P, Garde E, Gøbel Madsen C, Börnsen L, Christensen JR, Ratzer R, Siebner HR, Laursen B, Soelberg Sorensen P. High-dose erythropoietin in patients with progressive multiple sclerosis: a randomized, placebo controlled, phase 2 trial. Mult Scler 2016: Epub ahead of print.

Dogonowski AM, Blinkenberg M, Paulson OB, Sellebjerg F, Soelberg Sørensen P, Siebner HR, Madsen KH. Recovery from an acute relapse is associated with changes in motor resting-state connectivity in multiple sclerosis. J Neurol Neurosurg Psychiatry 2016;87:912-914.

Ratzer R, Iversen P, Börnsen L, Dyrby T, Romme Christensen J, Ammitzbøll C, Madsen C, Garde E, Lyksborg M, Andersen B, Hyldstrup L, Soelberg Sørensen P, Siebner HR, Sellebjerg F. Monthly oral methylprednisolone pulse treatment in progressive multiple sclerosis. Mult Scler 2016;22:926-934.

Voldsgaard A, Bager P, Garde E, Åkeson P, Leffers AM, Kapel C, Roepstorff A, Thamsborg SM, Melbye M, Siebner H, Søndergaard HB, Sellebjerg F, Soelberg Sørensen P. Trichuris suis ova therapy in relapsing multiple sclerosis is safe but without signals of beneficial effect. Mult Scler 2015;21:1723-1729.

Weier K, Banwell B, Cerasa A, Collins DL, Dogonowski AM, Lassmann H, Quattrone A, Sahraian MA, Siebner HR, Sprenger T. The role of the cerebellum in multiple sclerosis. Cerebellum 2015;14:364-374.

Christensen JR, Ratzer R, Börnsen L, Lyksborg M, Garde E, Dyrby TB, Siebner HR, Sorensen PS, Sellebjerg F. Natalizumab in progressive MS: Results of an open-label, phase 2A, proof-of-concept trial. Neurology 2014;82:1499-1507. 

Lyksborg M, Siebner HR, Sørensen PS, Blinkenberg M, Parker GJM, Dogonowski A, Garde E, Larsen R, Dyrby TB. Secondary progressive and relapsing remitting multiple sclerosis leads to motor-related decreased anatomical connectivity. PLOS ONE 2014;9, e95540.

Christensen JR, Ratzer R, Börnsen L, Lyksborg M, Garde E, Dyrby TB, Siebner HR, Sørensen PS, Sellebjerg F. Natalizumab in progressive MS – results of an open-label phase 2A proof-of- concept trial. Neurology 2014;82:1499-1507. 

Dogonowski, A.-M., Andersen, K. W., Madsen, K. H., Sørensen, P. S., Paulson, O. B., Blinkenberg, M., & Siebner, H. R. Multiple sclerosis impairs regional functional connectivity in the cerebellum. NeuroImage: Clinical, 2014, 4:130–138.

Group Members

Hartwig R. Siebner

Group Leader

Henrik Lundell

Vanessa Wiggermann

Mads Alexander Just Madsen

Show all group members (14)

External Collaborators

Consultant Anne-Mette Leffers

Centre for Functional and Diagnostic Imaging, Copenhagen University Hospital Hvidovre, Denmark


Consultant Camilla Gøbel Madsen

Centre for Functional and Diagnostic Imaging, Copenhagen University Hospital Hvidovre, Denmark


Professor Per Soelberg Sørensen, Professor Finn Sellebjerg, Morten Blinkenberg

and other physicians from the Danish Multiple Sclerosis Centre, Department of Neurology, Copenhagen University Hospital Rigshospitalet, Denmark.


Kathrine S. Madsen,

Faculty of Health and Technology, Metrolitan University College


Associate Professor Morten Mørup

Cognitive Systems, DTU Compute, Technical University of Denmark


Jesper Bencke

Gait Laboratory, Copenhagen University Hospital Hvidovre, Denmark


Associate Professor Itamar Ronen

Leiden University Medical Center, Leiden, The Netherlands


Professor Christian Dettmers

Kliniken Schmieder, Konstanz, Germany