
.. DO NOT EDIT.
.. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY.
.. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE:
.. "generated/gallery/11-spin-echo/se_epi_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_11-spin-echo_se_epi_propeller2D_sequence.py>`
        to download the full example code.

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

.. _sphx_glr_generated_gallery_11-spin-echo_se_epi_propeller2D_sequence.py:


================================================
2D PROPELLER spin echo with echo-planar blades
================================================

A slice-selective excitation and 180-degree refocusing pulse form a spin echo,
followed by an echo-planar readout of one rotating PROPELLER blade. Spoilers
suppress unwanted coherence between shots. TE controls T2 weighting, while the
EPI train introduces off-resonance sensitivity. This sequence supports rapid,
motion-robust structural imaging.

.. GENERATED FROM PYTHON SOURCE LINES 12-32








.. GENERATED FROM PYTHON SOURCE LINES 33-37

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

Sixteen lines per blade, each blade acquired after one excitation.

.. GENERATED FROM PYTHON SOURCE LINES 37-47

.. code-block:: Python


    import pypulseqpp as pp
    from pypulseqpp.sequences import se_epi_propeller2D_sequence

    baseline = se_epi_propeller2D_sequence(
        n_x=192, blade_width=16, n_slices=1, te=60e-3, 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

    437 blocks, 1.46 s




.. GENERATED FROM PYTHON SOURCE LINES 48-50

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

.. GENERATED FROM PYTHON SOURCE LINES 50-53

.. code-block:: Python


    baseline.paper_plot()




.. image-sg:: /generated/gallery/11-spin-echo/images/sphx_glr_se_epi_propeller2D_sequence_001.png
   :alt: se epi propeller2D sequence
   :srcset: /generated/gallery/11-spin-echo/images/sphx_glr_se_epi_propeller2D_sequence_001.png
   :class: sphx-glr-single-img





.. GENERATED FROM PYTHON SOURCE LINES 54-59

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

Colour encodes blade acquisition order. All lines within one blade are
acquired in a single echo train.

.. GENERATED FROM PYTHON SOURCE LINES 59-62

.. code-block:: Python


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




.. image-sg:: /generated/gallery/11-spin-echo/images/sphx_glr_se_epi_propeller2D_sequence_002.png
   :alt: se epi propeller2D sequence
   :srcset: /generated/gallery/11-spin-echo/images/sphx_glr_se_epi_propeller2D_sequence_002.png
   :class: sphx-glr-single-img





.. GENERATED FROM PYTHON SOURCE LINES 63-69

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

A wider blade requires a longer echo-planar train. Each blade covers more
of the k-space disc, and more off-resonance phase accumulates across the
blade's phase-encode direction.

.. GENERATED FROM PYTHON SOURCE LINES 69-83

.. code-block:: Python


    alternative = se_epi_propeller2D_sequence(
        n_x=192, blade_width=24, n_slices=1, te=60e-3, tr=None, n_dummy=0
    )






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

 .. code-block:: none

                       blocks  duration (s)  acquisitions
    16 lines              437          1.46           304
    24 lines              403          1.11           312




.. GENERATED FROM PYTHON SOURCE LINES 84-86

.. code-block:: Python

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




.. image-sg:: /generated/gallery/11-spin-echo/images/sphx_glr_se_epi_propeller2D_sequence_003.png
   :alt: se epi propeller2D sequence
   :srcset: /generated/gallery/11-spin-echo/images/sphx_glr_se_epi_propeller2D_sequence_003.png
   :class: sphx-glr-single-img






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

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


.. _sphx_glr_download_generated_gallery_11-spin-echo_se_epi_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: se_epi_propeller2D_sequence.ipynb <se_epi_propeller2D_sequence.ipynb>`

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

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

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

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


.. only:: html

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

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