spec_abs2trans {tidyspec} | R Documentation |
Convert Absorbance Data to Transmittance
Description
This function converts absorbance data to transmittance using the formula T = 10^{(2 - A)}
, where A
is the absorbance and T
is the transmittance.
Usage
spec_abs2trans(.data, wn_col = NULL)
Arguments
.data |
A 'data.frame' or 'tibble' containing spectral data in absorbance. |
wn_col |
A character string specifying the column name for the wavelength data. Default is '"Wn"'. |
Value
A 'tibble' with the converted transmittance data, containing the wavelength column and the numeric transmittance columns. Any rows with infinite values are removed.
[Package tidyspec version 0.1.0 Index]