prsctrl.data.util.save_data_rta#
- save_data_rta(ref_data: PrsData, tra_data: PrsData, copy_data_dirs: str | list[str], norm_data_dir: str | None, dont_save_partial_files=True, **plot_spectrum_kw)[source]#
Copy the data ref and tra data into a subdir in the data_dir_final(s) from the configuration file. Partial files can be skipped. Reflection and transmission data will be placed in a subdirectory and the absorption data will be calculated. :param data_dir_path_no_suffix: Path to the reference and transmission data, without “-ref”/”-tra”) :param copy_data_dirs: Directory(ies) to copy the data to :param dont_save_partial_files: :return*: