pcdsdevices.lxe.load_calibration_file

pcdsdevices.lxe.load_calibration_file(filename: Path | str) ndarray

Load a calibration file.

Data will be sorted by position and need not be pre-sorted.

Two columns of data in a space-delimited text file. No header:

Column 1: waveplate position [mm?] Column 2: pulse energy [uJ]

Parameters:

filename (str) – The calibration data filename.

Returns:

np.ndarray – Of shape (num_data_rows, 2)