skultrafast.quickcontrol

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

Module Contents

Classes

QCFile

Base class for QC files.

QCBaserTimeRes

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

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: str[source]

Full path to info file

path: pathlib.Path[source]

Directory of the info file

prefix: str[source]

Filename

info: dict[source]

Content of the info file

_path()[source]
_prefix()[source]
_load_info()[source]
class skultrafast.quickcontrol.QCBaserTimeRes[source]

Bases: QCFile

Base class for QC files.

property wavenumbers[source]
wavelength: numpy.ndarray[source]

Wavelength data calculated from given grating and mono wavelength

calc_wl(disp=None)[source]
class skultrafast.quickcontrol.QC1DSpec[source]

Bases: QCBaserTimeRes

Helper class to load time resolved spectra measured with QuickControl

t: Iterable[float][source]

Delay times

par_data: numpy.ndarray[source]

“Contains the data from one channel

per_data: numpy.ndarray[source]

“Contains the data from one channel

_load_par()[source]
_load_per()[source]
_t_default()[source]
make_pol_ds(sigma=None) skultrafast.dataset.PolTRSpec[source]
class skultrafast.quickcontrol.QC2DSpec[source]

Bases: QCBaserTimeRes

Helper class to load 2D-spectra measured with QuickControl

t: numpy.ndarray[source]

Waiting times

t2: numpy.ndarray[source]

t2, the inter-pulse delays between pump pulses

par_data: Dict[source]

Data for parallel polarization

per_data: Dict[source]

Data for perpendicular polarization

par_spec: Dict | None[source]

Resulting 2D spectra for parallel polarization

per_spec: Dict | None[source]

Resulting 2D spectra for perpendicular polarization

probe_filter: float | 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[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.

_t_default()[source]
_load_t2()[source]
_loader(which: str)[source]
switch_pol()[source]
calc_spec()[source]
_load_par()[source]
_load_per()[source]
_calc_freqs()[source]
make_ds() Dict[str, skultrafast.twoD_dataset.TwoDim][source]