DataUtils.Beamline#

DataUtils.PfBeamline.py

class BeamlineInfo(**entries)#

Bases: object

A class to hold information about a beamline.

Initialize the BeamlineInfo object.

Parameters:

**entries (dict) – Keyword arguments to initialize the beamline information.

get_concfactor()#

Get the concentration factor, which is the product of path length and extinction.

Returns:

The concentration factor.

Return type:

float

get_beamlineinfo_from_folder(folder)#

Get beamline information from a folder containing UV data files.

Parameters:

folder (str) – The folder path containing the UV data files.

Returns:

The beamline information object.

Return type:

BeamlineInfo

get_beamlineinfo_from_settings()#

Get beamline information from settings.

Returns:

The beamline information object.

Return type:

BeamlineInfo