.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/Plots/plot_pointcare.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_Plots_plot_pointcare.py: Plot pointcare ============== .. GENERATED FROM PYTHON SOURCE LINES 7-11 .. code-block:: default # Author: Nicolas Legrand # Licence: GPL v3 .. GENERATED FROM PYTHON SOURCE LINES 12-14 Visualizing poincare plot from RR time series using Matplotlib as plotting backend ---------------------------------------------------------------------------------- .. GENERATED FROM PYTHON SOURCE LINES 14-22 .. code-block:: default from systole import import_rr from systole.plots import plot_poincare # Import PPG recording as numpy array rr = import_rr().rr.to_numpy() plot_poincare(rr, input_type="rr_ms") .. image-sg:: /auto_examples/Plots/images/sphx_glr_plot_pointcare_001.png :alt: Poincare plot :srcset: /auto_examples/Plots/images/sphx_glr_plot_pointcare_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none .. GENERATED FROM PYTHON SOURCE LINES 23-25 Using Bokeh as plotting backend ------------------------------- .. GENERATED FROM PYTHON SOURCE LINES 25-34 .. code-block:: default from bokeh.io import output_notebook from bokeh.plotting import show output_notebook() from systole import import_rr from systole.plots import plot_poincare show( plot_poincare(rr, input_type="rr_ms", backend="bokeh") ) .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 1.760 seconds) .. _sphx_glr_download_auto_examples_Plots_plot_pointcare.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_pointcare.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_pointcare.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_