DataUtils.UvLoader

DataUtils.UvLoader#

DataUtils.UvLoader.py

load_uv(path, return_also_conc_file=False)#

Load UV data from a file or directory.

Parameters:

path (str) – Path to the UV data file or directory.

Returns:

  • uvM (np.ndarray) – UV data matrix.

  • wvector (np.ndarray) – Wavelength vector.

get_uvcurves(in_folder)#

Get two UV curves from the UV data in the given folder. The two curves correspond to wavelengths 280 nm and 400 nm.

Parameters:

in_folder (str) – Path to the folder containing UV data files.

Returns:

  • c1 (Curve) – UV curve at 280 nm.

  • c2 (Curve) – UV curve at 400 nm.