.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "_auto_examples/soundtrap_hf.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_soundtrap_hf.py: SoundTrap High Frequency with click detector ============================================= This script is an example to compute temporal features and third octave levels on an Acoustic Survey .. GENERATED FROM PYTHON SOURCE LINES 7-28 .. code-block:: Python import pyhydrophone as pyhy # Sound Files sound_folder_path = "" # Output path for the detected clicks clicks_output_path = "test.pickle" name = 'SoundTrap' model = 1 serial_number = 67416073 Vpp = 2 hydrophone = pyhy.SoundTrapHF(name=name, model=model, serial_number=serial_number, Vpp=Vpp) """ Detect clicks on sound data """ # Convert the sound clips to click and save clicks_df = hydrophone.read_HFclicks(sound_folder_path) clicks_df.to_pickle(clicks_output_path) .. _sphx_glr_download__auto_examples_soundtrap_hf.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: soundtrap_hf.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: soundtrap_hf.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: soundtrap_hf.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_