.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "gallery/plot_periodogram.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_gallery_plot_periodogram.py: Periodogram plot with traja ----------------------------------- Plot periodogram or power spectrum with :meth:`traja.plotting.plot_periodogram`. Wrapper for pandas :meth:`scipy.signal.periodogram`. .. GENERATED FROM PYTHON SOURCE LINES 9-12 .. image-sg:: /gallery/images/sphx_glr_plot_periodogram_001.png :alt: Power Spectrum :srcset: /gallery/images/sphx_glr_plot_periodogram_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none
| .. code-block:: Python import traja trj = traja.generate(seed=0) trj.traja.plot_periodogram('x') .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.059 seconds) .. _sphx_glr_download_gallery_plot_periodogram.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_periodogram.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_periodogram.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_periodogram.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_