
.. DO NOT EDIT.
.. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY.
.. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE:
.. "auto_examples\text_only\phase_cycling_labels.py"
.. LINE NUMBERS ARE GIVEN BELOW.

.. only:: html

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

        Click :ref:`here <sphx_glr_download_auto_examples_text_only_phase_cycling_labels.py>`
        to download the full example code

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

.. _sphx_glr_auto_examples_text_only_phase_cycling_labels.py:


phase cycling labels
====================

demonstrate automatic labeling of phase cycling (coherence) axes

.. GENERATED FROM PYTHON SOURCE LINES 7-13




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

 .. code-block:: none

    $\Delta p_1$
    $\Delta p_2$
    $\nu $ / Hz






|

.. code-block:: default

    from pyspecdata import *
    a = nddata(r_[0:90],[3,3,10],['ph1','ph2','t']).setaxis('ph1','#').setaxis('ph2','#').setaxis('t','#').set_units('t','s')
    a.ft(['ph1','ph2','t'])
    print(a.unitify_axis('ph1'))
    print(a.unitify_axis('ph2'))
    print(a.unitify_axis('t'))


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

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


.. _sphx_glr_download_auto_examples_text_only_phase_cycling_labels.py:

.. only:: html

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


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

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

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

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


.. only:: html

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

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