.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/tttr/plot_tttr_microtime_histogram.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_tttr_plot_tttr_microtime_histogram.py: ===================== Micro time histograms ===================== .. GENERATED FROM PYTHON SOURCE LINES 7-27 .. image-sg:: /auto_examples/tttr/images/sphx_glr_plot_tttr_microtime_histogram_001.png :alt: plot tttr microtime histogram :srcset: /auto_examples/tttr/images/sphx_glr_plot_tttr_microtime_histogram_001.png :class: sphx-glr-single-img .. code-block:: Python import tttrlib import pylab as p data = tttrlib.TTTR('../../tttr-data/bh/bh_spc132.spc', 'SPC-130') h, t = data.get_microtime_histogram( micro_time_coarsening=32 ) p.semilogy(t, h, label="micro_time_coarsening=32") h, t = data.get_microtime_histogram( micro_time_coarsening=8 ) p.semilogy(t, h, label="micro_time_coarsening=16") h, t = data.get_microtime_histogram( micro_time_coarsening=4 ) p.semilogy(t, h, label="micro_time_coarsening=8") p.legend() p.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.296 seconds) .. _sphx_glr_download_auto_examples_tttr_plot_tttr_microtime_histogram.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_tttr_microtime_histogram.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_tttr_microtime_histogram.py ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_