prsctrl.data.util.load_rta#
- load_rta(parent_data_dir, norm_data_dir=None, force_recalculate_absorption=False, **abs_prsdata_kw)[source]#
Load reflection, transmission and absorption data from the path to the parent directory. The parent directoy must contain two directories with the same as itself, with suffixes -ref and -tra. The absorption data may exist (suffix -abs) or not, in the latter case it will be calculated from ref and tra.
- Parameters:
force_recalculate_absoprtion – Calculate absorption data from ref and tra even if it exists
norm_data_dir – Data directory with reference data for normalizing the absorption spectrum
- Returns:
Reflection, Transmission, Absorptíon data