opc_energy: Calculate OPC energy

View source: R/opc.R

opc_energyR Documentation

Calculate OPC energy

Description

Convert Equivalent Spherical Diameter (ESD) from the OPC into energy (in Joules) per depth bin using the formula below which was developed by Davies et al (2012).

Usage

opc_energy(df, dz = 2, good_only = TRUE, reject_volume = TRUE)

Arguments

df

opc tibble

dz

depth bin width (meters)

good_only

use only good (unflagged) values

reject_volume

set concentration to NA for depth bins with <50% volume sampled

Details

energy = 0.0134 * (esd) - 7.52

Value

tibble


hansenjohnson/opcr documentation built on Jan. 24, 2023, 5:04 a.m.