Skip to content
Macey Rafter edited this page Jun 6, 2019 · 5 revisions

SWAL Logo

Airgun Detector

To run the airgun detector:

  1. Download the Airgun-Detector and Triton folder and add it to your computer.
  2. Open up MATLAB and add the Airgun-Detector and the Triton folder to your path. Make sure that Triton is in your MATLAB path as well otherwise you will probably get a MATLAB error.
  3. Open the script "xcorr_airgun_df100.m" from the Airgun-Detector file folder.
  4. Important lines to edit within the script are:
  • Line 19: Selects the input folder with all of the .xwav files to run through the detector.
  • Line 20: Saves and names the detector files to a different folder than the input folder.
  • Line 30: Makes sure that the pathway to the airgun template is correct (this template .mat file is saved in the airgun detector code folder).
  1. Hit run, selecting the df100 folder containing the xwav files.
  2. The detector will begin. Detection mat files are generated in an "Airguns" folder created in the df100 folder.
  3. After running your detections through GPL Review, if you want to convert the detection mat files into times when airguns occurred, use merge_airguns_one_file.m

Note: You will have to convert these times from CVS format to a date format in Excel!

Clone this wiki locally