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 Feb. 8, 2022, 5:06 p.m.