.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "_auto_examples/rtsys_example.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_rtsys_example.py: RTSys extra functions ===================== An example of how to use the class RTSys to check the board files after a deployment .. GENERATED FROM PYTHON SOURCE LINES 7-25 .. code-block:: Python import pyhydrophone as pyhy Vpp = 5.0 # Hydrophone Setup sensitivity = -180 preamp_gain = 0 model = 1 serial_number = 1000 name = 'RESEA320' mode = 'lowpower' folder_path = 'tests/test_data/rtsys/' rtsys = pyhy.RTSys(name, model, serial_number, sensitivity, preamp_gain, Vpp, mode) rtsys.plot_consumption_total_mission(mission_folder_path=folder_path) print('Total consumption', rtsys.compute_consumption_total_mission(mission_folder_path=folder_path)) .. _sphx_glr_download__auto_examples_rtsys_example.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: rtsys_example.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: rtsys_example.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: rtsys_example.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_