quickcontrol.QC2DSpec

class quickcontrol.QC2DSpec(fname: str, path: ~pathlib.Path = NOTHING, prefix: str = NOTHING, info: dict = NOTHING, wavelength: ~numpy.ndarray = NOTHING, t: ~numpy.ndarray = NOTHING, t2: ~numpy.ndarray = NOTHING, par_data: ~typing.Dict = NOTHING, per_data: ~typing.Dict = NOTHING, par_spec: ~typing.Dict | None = None, per_spec: ~typing.Dict | None = None, probe_filter: float | None = None, upsampling: int = 2, pump_freq: ~numpy.ndarray = NOTHING, bg_correct: ~typing.Tuple | None = None, win_function: ~typing.Callable | None = <function hamming>)[source]

Helper class to load 2D-spectra measured with QuickControl

Method generated by attrs for class QC2DSpec.

__init__(fname: str, path: ~pathlib.Path = NOTHING, prefix: str = NOTHING, info: dict = NOTHING, wavelength: ~numpy.ndarray = NOTHING, t: ~numpy.ndarray = NOTHING, t2: ~numpy.ndarray = NOTHING, par_data: ~typing.Dict = NOTHING, per_data: ~typing.Dict = NOTHING, par_spec: ~typing.Dict | None = None, per_spec: ~typing.Dict | None = None, probe_filter: float | None = None, upsampling: int = 2, pump_freq: ~numpy.ndarray = NOTHING, bg_correct: ~typing.Tuple | None = None, win_function: ~typing.Callable | None = <function hamming>) None

Method generated by attrs for class QC2DSpec.

Methods

__init__(fname[, path, prefix, info, ...])

Method generated by attrs for class QC2DSpec.

calc_spec()

calc_wl([disp])

make_ds()

switch_pol()

Attributes

wavenumbers

t

Waiting times

t2

t2, the inter-pulse delays between pump pulses

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.

wavelength

Wavelength data calculated from given grating and mono wavelength

fname

Full path to info file

path

Directory of the info file

prefix

Filename

info

Content of the info file