make.acoustic.captures: Assigning ID numbers to sounds

View source: R/helpers.r

make.acoustic.capturesR Documentation

Assigning ID numbers to sounds

Description

Identifies recaptures and assigns ID numbers to sounds recorded for an SECR model.

Usage

make.acoustic.captures(mics, dets, sound.speed)

Arguments

mics

a matrix containing the coordinates of trap locations.

dets

a data frame containing (at least): (i) $toa, the precise time of arrival of the received sound, and (ii) $trap the trap at which the sound was recorded.

sound.speed

the speed of sound in metres per second.

Details

Detected sounds are assumed to come from the same animal if times of arrival at different microphones are closer together than the time it would take for sound to travel between these microphones.

Value

A data frame. Specifically, the dets dataframe, now with a new variable, ID.

Author(s)

David Borchers


b-steve/ascr documentation built on Aug. 15, 2022, 2:38 p.m.