Skip to contents

Calculate the total light absorption of a PAC using the results of the TUV model

Usage

p_abs(tuv_results, pac, time_multiplier = 2)

Arguments

tuv_results

data.frame of TUV results

pac

name of PAC to calculate light absorption for, as a pac_id or pac_name from pac_list()

time_multiplier

multiplier to get the total exposure time. I.e., if the tuv_results contains 24 hours of data, and you need a 48h exposure, the multiplier would be 2. (this is the default)

Value

The value of Pabs for the TUV results. It is an error if the TUV results have only one time step, as there is no time interval to integrate over, or wavelengths that aren't whole numbers, as absorption spectra are only available at whole wavelengths.