wavFindTags | R Documentation |
A .wav file is processed to detect tag pulses, and these are run through a simplified version of the tag finder to detect individual bursts from Lotek coded ID tags.
wavFindTags(f, tdb, pd = "findpulsetdbatch", pdpars = list(minsnr = 5,
minfreq = 0, maxfreq = 24, plen = 2.5), tfpars = list(min_dfreq = -24,
max_dfreq = 24, signal_slop = 30, frequency_slop = 0.2, pulses_to_confirm = 4,
pulse_slop = 1.5, max_skipped_bursts = 3, default_freq = 166.376,
unsigned_dfreq = 1), maxFreqSD = 0.2)
f |
path to the .wav file |
tdb |
path to the tag database file |
pd |
character scalar; which pulse detector to use. One of c("findpulsefdbatch" or "findpulsetdbatch"). Names one of the VAMP plugins in the library lotek-plugins.so Default: "findpulsetdbatch" |
pdpars |
named list of parameters to the pulse detector |
tfpars |
named list of parameters to the tag finder. |
maxFreqSD |
maximum freqsd of returned detections; default: 0.2 kHz |
This uses the same signal processing plugin as runs on the sensorgnome, but via a stripped down vamp-host (the version on the sensorgnome handles live input from attached funcubes).
a data.frame of tag detections with these columns:
ts timestamp; seconds since start of file
id; id from the database in tdb
dfreq; frequency offset, in kHz
sig; signal strength in dB max
uses external programs vamp-host and find_tags_unifile, and library lotek-plugins.so
John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.