
.. DO NOT EDIT.
.. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY.
.. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE:
.. "generated/gallery/10-gradient-echo/gre_propeller2D_sequence.py"
.. LINE NUMBERS ARE GIVEN BELOW.

.. only:: html

    .. note::
        :class: sphx-glr-download-link-note

        :ref:`Go to the end <sphx_glr_download_generated_gallery_10-gradient-echo_gre_propeller2D_sequence.py>`
        to download the full example code.

.. rst-class:: sphx-glr-example-title

.. _sphx_glr_generated_gallery_10-gradient-echo_gre_propeller2D_sequence.py:


============================
2D PROPELLER gradient echo
============================

A spoiled low-flip-angle excitation is followed by one Cartesian line from a
rotating PROPELLER blade. Gradient and RF spoiling suppress residual transverse
coherence between repetitions. TR, flip angle, and TE determine contrast. The
overlapping central k-space region supports motion estimation in structural
imaging.

.. GENERATED FROM PYTHON SOURCE LINES 12-32








.. GENERATED FROM PYTHON SOURCE LINES 33-38

Sixteen-line blades
-------------------

Sixteen lines per blade, with the number of blade orientations chosen to
cover the k-space disc.

.. GENERATED FROM PYTHON SOURCE LINES 38-48

.. code-block:: Python


    import pypulseqpp as pp
    from pypulseqpp.sequences import gre_propeller2D_sequence

    baseline = gre_propeller2D_sequence(
        n=192, blade_width=16, n_slices=1, te=None, tr=None, n_dummy=0
    )
    print(f"{baseline.num_blocks} blocks, {baseline.duration()[0]:.2f} s")






.. rst-class:: sphx-glr-script-out

 .. code-block:: none

    1824 blocks, 2.67 s




.. GENERATED FROM PYTHON SOURCE LINES 49-51

Sequence diagram
----------------

.. GENERATED FROM PYTHON SOURCE LINES 51-54

.. code-block:: Python


    baseline.paper_plot()




.. image-sg:: /generated/gallery/10-gradient-echo/images/sphx_glr_gre_propeller2D_sequence_001.png
   :alt: gre propeller2D sequence
   :srcset: /generated/gallery/10-gradient-echo/images/sphx_glr_gre_propeller2D_sequence_001.png
   :class: sphx-glr-single-img





.. GENERATED FROM PYTHON SOURCE LINES 55-60

Sampling order
--------------

The colour encodes blade acquisition order. Each blade is a band
of parallel lines; the bands overlap at the centre.

.. GENERATED FROM PYTHON SOURCE LINES 60-63

.. code-block:: Python


    pp.plot.plot_kspace(baseline, color_by="shot", plane="xy")




.. image-sg:: /generated/gallery/10-gradient-echo/images/sphx_glr_gre_propeller2D_sequence_002.png
   :alt: gre propeller2D sequence
   :srcset: /generated/gallery/10-gradient-echo/images/sphx_glr_gre_propeller2D_sequence_002.png
   :class: sphx-glr-single-img





.. GENERATED FROM PYTHON SOURCE LINES 64-70

Wider blades
------------

Increasing the blade width reduces the number of blade orientations and
increases the duration of each blade. The larger shared central-k-space
region provides additional data for motion estimation.

.. GENERATED FROM PYTHON SOURCE LINES 70-84

.. code-block:: Python


    alternative = gre_propeller2D_sequence(
        n=192, blade_width=32, n_slices=1, te=None, tr=None, n_dummy=0
    )






.. rst-class:: sphx-glr-script-out

 .. code-block:: none

                       blocks  duration (s)  acquisitions
    16 lines             1824          2.67           304
    32 lines             1920          2.81           320




.. GENERATED FROM PYTHON SOURCE LINES 85-87

.. code-block:: Python

    pp.plot.plot_kspace(alternative, color_by="shot", plane="xy")




.. image-sg:: /generated/gallery/10-gradient-echo/images/sphx_glr_gre_propeller2D_sequence_003.png
   :alt: gre propeller2D sequence
   :srcset: /generated/gallery/10-gradient-echo/images/sphx_glr_gre_propeller2D_sequence_003.png
   :class: sphx-glr-single-img






.. rst-class:: sphx-glr-timing

   **Total running time of the script:** (0 minutes 3.998 seconds)


.. _sphx_glr_download_generated_gallery_10-gradient-echo_gre_propeller2D_sequence.py:

.. only:: html

  .. container:: sphx-glr-footer sphx-glr-footer-example

    .. container:: sphx-glr-download sphx-glr-download-jupyter

      :download:`Download Jupyter notebook: gre_propeller2D_sequence.ipynb <gre_propeller2D_sequence.ipynb>`

    .. container:: sphx-glr-download sphx-glr-download-python

      :download:`Download Python source code: gre_propeller2D_sequence.py <gre_propeller2D_sequence.py>`

    .. container:: sphx-glr-download sphx-glr-download-zip

      :download:`Download zipped: gre_propeller2D_sequence.zip <gre_propeller2D_sequence.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
