deerlab.deerload

deerload(fullbasename, plot=False, full_output=False, *args, **kwargs)[source]

Load file in BES3T format (Bruker EPR Standard for Spectrum Storage and Transfer)

  • .DSC: description file

  • .DTA: data file

used on Bruker ELEXSYS and EMX machines. This function can handle experiments acquired in a multi-dimensional setup.

Parameters:
fullbasenamestring

Full name of data file, including the extension (‘.DSC’ or ‘.DTA’).

full_outputboolean, optional

Return the parameter file entries as a third output. Disabled by default.

plotboolean, optional

Display a plot of the real and imaginary parts of the loaded data. Disabled by default.

Returns:
tndarray, or list of ndarray

Time axis in microseconds. Its structure depends on the dimensionality of the experimental datasets:

  • 1D datasets: the time axis is returned as a one-dimensional ndarray of shape (N,)

  • 2D datasets: the axes are returned as elements of a list, with the first axis typically being the time axis of shape (N,)

Vndarray

Experimental signal(s). Its structure depends on the dimensionality of the experimental datasets:

  • 1D datasets: the signal of N points is returned as a one-dimensional ndarray of shape (N,)

  • 2D datasets: the M signals of N points are returned as a two-dimensional ndarray of shape (N,M). The i-th signal can be accessed via V[:,i].

parsdict

Parameter file entries, returned if full_output is True.

Notes

Code based on BES3T version 1.2 (Xepr >=2.1).