skultrafast.quickcontrol

Module to import and work with files generated by QuickControl from phasetech.

Classes

QCFile

Base class for QC files.

QCBaseTimeRes

Base class for QC files.

QC1DSpec

Helper class to load time resolved spectra measured with QuickControl

QC2DSpec

Helper class to load 2D-spectra measured with QuickControl

Functions

parse_str(s)

Parse entry of info file

Module Contents

skultrafast.quickcontrol.parse_str(s: str)[source]

Parse entry of info file

Parameters:

s (str) – Value

Returns:

Corresponding python type

Return type:

obj

class skultrafast.quickcontrol.QCFile[source]

Base class for QC files.

fname: os.PathLike[source]

Full path to info file

property path: pathlib.Path[source]

Path to the directory containing the file

property prefix: str[source]

Prefix of the file

property info: dict[str, Any][source]
class skultrafast.quickcontrol.QCBaseTimeRes[source]

Bases: QCFile

Base class for QC files.

property wavelength[source]

Wavelength data calculated from given grating and mono wavelength

property wavenumbers[source]
class skultrafast.quickcontrol.QC1DSpec[source]

Bases: QCBaseTimeRes

Helper class to load time resolved spectra measured with QuickControl

property par_data: numpy.ndarray[source]
property per_data: numpy.ndarray[source]
property t: list[float][source]
make_pol_ds(sigma=None) skultrafast.dataset.PolTRSpec[source]
class skultrafast.quickcontrol.QC2DSpec[source]

Bases: QCBaseTimeRes

Helper class to load 2D-spectra measured with QuickControl

par_data: Dict[source]

Data for parallel polarization

per_data: Dict[source]

Data for perpendicular polarization

par_spec: Dict | None = None[source]

Resulting 2D spectra for parallel polarization

per_spec: Dict | None = None[source]

Resulting 2D spectra for perpendicular polarization

probe_filter: float | None = None[source]

Size of the filter applied to the spectral axis. ‘None’ is no filtering

upsampling: int = 2[source]

Upsamling factor of the pump-axis

pump_freq: numpy.ndarray[source]

Resulting wavenumbers of the pump axis.

bg_correct: Tuple | None = None[source]

If given, the size of the left and right region used to calculate the signal background which will be subtracted

win_function: Callable | None[source]

Window function used for apodization. The coded will the window-function with 2*len(t2) and uses only the second half of the returned array.

property t: numpy.ndarray[source]

Waiting time delays in ps

property t2: numpy.ndarray[source]

Interferogram delays in ps, e.g. the inter pump delay

_loader(which: str)[source]
__attrs_post_init__()[source]
switch_pol()[source]
calc_spec()[source]
_calc_freqs()[source]
make_ds() Dict[str, skultrafast.twoD_dataset.TwoDim][source]