This function converts transmittance data to absorbance using the formula `A = 2 - log10(T)`, where `T` is the transmittance. It also filters out any infinite values resulting from the transformation, while preserving the wavelength column.
spec_trans2abs(.data, wn_col = NULL)
A `tibble` with the converted absorbance data, containing the wavelength column and the absorbance numeric columns.
A `data.frame` or `tibble` containing spectral data.
A character string specifying the column name for the wavelength data. Default is `"Wn"`.