
.. 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_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_propeller2D_sequence.py>`
        to download the full example code.

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

.. _sphx_glr_generated_gallery_11-spin-echo_se_propeller2D_sequence.py:


========================
2D PROPELLER spin echo
========================

A slice-selective excitation and 180-degree refocusing pulse form one spin echo,
at which one line of a rotating PROPELLER blade is acquired. Spoilers suppress unwanted
coherence before the next TR. TE controls T2 weighting and TR controls
longitudinal recovery. The overlapping blade centres support 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.

.. GENERATED FROM PYTHON SOURCE LINES 37-47

.. code-block:: Python


    import pypulseqpp as pp
    from pypulseqpp.sequences import se_propeller2D_sequence

    baseline = se_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

    2736 blocks, 5.45 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_propeller2D_sequence_001.png
   :alt: se propeller2D sequence
   :srcset: /generated/gallery/11-spin-echo/images/sphx_glr_se_propeller2D_sequence_001.png
   :class: sphx-glr-single-img





.. GENERATED FROM PYTHON SOURCE LINES 54-58

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

Colour encodes blade acquisition order.

.. GENERATED FROM PYTHON SOURCE LINES 58-61

.. code-block:: Python


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




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





.. GENERATED FROM PYTHON SOURCE LINES 62-67

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

Wider blades cover the k-space disc with fewer blade orientations, and
each blade samples a larger central region.

.. GENERATED FROM PYTHON SOURCE LINES 67-81

.. code-block:: Python


    alternative = se_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             2736          5.45           304
    32 lines             2880          5.73           320




.. GENERATED FROM PYTHON SOURCE LINES 82-84

.. code-block:: Python

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




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






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

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


.. _sphx_glr_download_generated_gallery_11-spin-echo_se_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_propeller2D_sequence.ipynb <se_propeller2D_sequence.ipynb>`

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

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

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

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


.. only:: html

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

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