2. Requirements - ashleyblawas/respdetect GitHub Wiki

System Requirements

Operating System

Respdetect was developed and tested on 64-bit Windows 10 and has not yet been tested on other platforms.

MATLAB

Respdetect was developed on MATLAB versions R2020a and has not yet been tested with other versions.

MATLAB toolbox dependencies:

  • Audio Toolbox
  • Signal Processing Toolbox
  • Image Processing Toolbox
  • Statistics and Machine Learning Toolbox

 

Data Requirements

Tag calibration

It is assumed that DTAG files have been calibrated, prhpredictor has been run, and data has been transformed into the whale frame. Importantly, respdetect requires an accurate pressure calibration for temperature effects.

Note: This can be particularly challenging to achieve using D3’s because of the placement of the temperature sensor in the tag. If, at the start of a surfacing following a long dive, your calibrated pressure is skewed above 0 m respdetect will not work well.

Tag placement

If the DTAG was deployed (or slid) far away from the blowhole or thoracic cavity, the movement signatures generated by breathing may be too weak to detect during logging periods. In this case it may be not feasible to use respdetect.

Files

Respdetect only requires a complete prh.mat file for breath detection. If you would like to do acoustic validation of breath detections, the wav files for each deployment will also need to be saved in the proper file structure.