lfdcs_to_raven: Generate a Raven selection table from LFDCS autodetections

Description Usage Arguments Details Author(s)

View source: R/lfdcs2raven.R

Description

Generate a Raven selection table from LFDCS autodetections

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
lfdcs_to_raven(
  lfdcs_file,
  raven_file = "selections.txt",
  audio_start_time,
  lfdcs_start_time = "1970-01-01 00:00:00",
  call_types = "",
  max_mdist = "",
  t_buff = 0.5,
  f_buff = 25
)

Arguments

lfdcs_file

The autodetections generated by export_autodetections

raven_file

The desired name (.txt) of the Raven selection table

audio_start_time

String giving the audio start time (YYYY-mm-dd HH:MM:SS)

lfdcs_start_time

String giving the lfdcs start time (YYYY-mm-dd HH:MM:SS)

call_types

A vector of desired call types

max_mdist

A numeric value indicating the maximum Mahalanobis distance to export

t_buff

The time buffer (in seconds) that is added to the start and end of each selection. This helps make the selection more visible in Raven.

f_buff

The frequency buffer (in Hz) that is added to the top and bottom of each selection. This helps make the selection more visible in Raven.

Details

The Low-Frequency Detection and Classification System (LFDCS) automatically detects marine mammal vocalizations in large datasets. This script converts a csv file of LFDCS autodetections (extracted from raw detector output using 'export_autodetections') into a text file that can be imported into Raven Pro as a selection table.

Author(s)

Hansen Johnson (hansen.johnson@dal.ca)


hansenjohnson/lfdcs2raven documentation built on July 4, 2021, 11:52 a.m.