loaders¶
Loaders read data and cast it into instances of Measurement.
loaders.qudi¶
A loader for data from qudi (https://github.com/Ulm-IQO/qudi).
Specifically, data from the laser scanner module can be loaded.
- pleasant.loaders.qudi.get_descriptions_in_folder(folder_name)¶
Get all unique measurements descriptions of the qudi data files in a folder.
- Parameters:
folder_name (
str) – directory where the data files are located- Return type:
list[str]- Returns:
list of unique descriptions
- pleasant.loaders.qudi.load_qudi_folder(folder_name, description_contains='', break_duration=nan)¶
Load all qudi data files in folder into Measurement objects.
- There are four files per measurement pair:
- a
_volt_data_raw_trace.datfile containing a 2D matrix of the count rates registered during all scans
- a
- a
_wl_data_trace.datfile containing the wavemeter readings before and after each scan
- a
- retrace versions of the above containing the same data but for scans
in the opposite spectral direction
- Parameters:
folder_name (
str) – directory where the data files are locateddescription_contains (
str) – filenames that do not contain this string in the description part will be ignoredbreak_duration (
float) – argument to be passed on to the Measurement object creator
- Return type:
list[Measurement]- Returns:
list of Measurement objects