.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples\example01.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_auto_examples_example01.py: Example 1 ========= .. GENERATED FROM PYTHON SOURCE LINES 8-22 .. image-sg:: /auto_examples/images/sphx_glr_example01_001.png :alt: example01 :srcset: /auto_examples/images/sphx_glr_example01_001.png :class: sphx-glr-single-img .. code-block:: Python import numpy as np import matplotlib.pyplot as plt import qpmr import qpmr.plot delays = np.array([0.0, 1.0]) coefs = np.array([[0., 1],[1, 0]]) roots, meta = qpmr.qpmr(coefs, delays, [-10, 2, 0, 30]) qpmr.plot.roots(roots) plt.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.236 seconds) .. _sphx_glr_download_auto_examples_example01.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: example01.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: example01.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: example01.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_