quickcontrol.QC2DSpec

class quickcontrol.QC2DSpec(fname: PathLike, par_spec: Dict | None = None, per_spec: Dict | None = None, probe_filter: float | None = None, upsampling: int = 2, bg_correct: Tuple | None = None, win_function: Callable | None = <function hamming>)[source]

Helper class to load 2D-spectra measured with QuickControl

Method generated by attrs for class QC2DSpec.

__init__(fname: PathLike, par_spec: Dict | None = None, per_spec: Dict | None = None, probe_filter: float | None = None, upsampling: int = 2, bg_correct: Tuple | None = None, win_function: Callable | None = <function hamming>) None

Method generated by attrs for class QC2DSpec.

Methods

__init__(fname, par_spec, per_spec, ...)

Method generated by attrs for class QC2DSpec.

calc_spec()

make_ds()

switch_pol()

Attributes

info

path

Path to the directory containing the file

prefix

Prefix of the file

t

Waiting time delays in ps

t2

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

wavelength

Wavelength data calculated from given grating and mono wavelength

wavenumbers

par_data

Data for parallel polarization

per_data

Data for perpendicular polarization

par_spec

Resulting 2D spectra for parallel polarization

per_spec

Resulting 2D spectra for perpendicular polarization

probe_filter

Size of the filter applied to the spectral axis.

upsampling

Upsamling factor of the pump-axis

pump_freq

Resulting wavenumbers of the pump axis.

bg_correct

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

win_function

Window function used for apodization.

fname

Full path to info file