-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Macey Rafter edited this page Jun 6, 2019
·
5 revisions
To run the airgun detector:
- Download the Airgun-Detector and Triton folder and add it to your computer.
- 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.
- Open the script "xcorr_airgun_df100.m" from the Airgun-Detector file folder.
- 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).
- Hit run, selecting the df100 folder containing the xwav files.
- The detector will begin. Detection mat files are generated in an "Airguns" folder created in the df100 folder.
- 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!