.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "sl_examples/plot_06_ETPC.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_sl_examples_plot_06_ETPC.py: Echo Transient with Phase Cycle(#6) =================================== .. GENERATED FROM PYTHON SOURCE LINES 7-8 This example demonstrates how to load and plot an echo transient (time trace) of a stimulated echo using a 64-step phase cycle to remove all unwanted echoes. .. GENERATED FROM PYTHON SOURCE LINES 8-12 .. code-block:: Python import spinlab as sl import numpy as np .. GENERATED FROM PYTHON SOURCE LINES 13-14 Once the Python environment is properly set up the data files can be loaded. .. GENERATED FROM PYTHON SOURCE LINES 14-18 .. code-block:: Python data_E580 = sl.load("../data/EPR/Echo-Transient-Phase-Cycling/33726-ETPC.DTA") data_E580.attrs["experiment_type"] = "epr_transient_E580" .. GENERATED FROM PYTHON SOURCE LINES 19-21 E580: BDPA/PS ------------- .. GENERATED FROM PYTHON SOURCE LINES 21-27 .. code-block:: Python sl.plt.figure() sl.fancy_plot(data_E580) sl.plt.title("Two-Pulse ESEEM, BDPA/PS, E580, X-Band") sl.plt.show() .. image-sg:: /sl_examples/images/sphx_glr_plot_06_ETPC_001.png :alt: Two-Pulse ESEEM, BDPA/PS, E580, X-Band :srcset: /sl_examples/images/sphx_glr_plot_06_ETPC_001.png :class: sphx-glr-single-img .. GENERATED FROM PYTHON SOURCE LINES 28-29 The data set can be downloaded from the :ref:`SampleData` page. .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.099 seconds) .. _sphx_glr_download_sl_examples_plot_06_ETPC.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_06_ETPC.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_06_ETPC.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_06_ETPC.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_