make.acoustic.captures: Assigning ID numbers to sounds.

Description Usage Arguments Details Value Author(s)

View source: R/helpers.r

Description

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

Usage

1
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


admbsecr documentation built on May 31, 2017, 3:18 a.m.