to_dB: Convert to dB

Description Usage Arguments

View source: R/tools.R

Description

Convert amplitude to decibel (dB) values

Usage

1
to_dB(x, ref = 1)

Arguments

x

numeric. Vector of amplitude values (V1).

ref

numeric. Reference value (V0) to calculate the ratio (V1/V0).


bioacoustics documentation built on Oct. 14, 2021, 9:07 a.m.