scqubits.utils.plotting.matelem_vs_paramvals¶
- scqubits.utils.plotting.matelem_vs_paramvals(specdata, select_elems=4, mode='abs', **kwargs)[source]¶
Generates a simple plot of matrix elements as a function of one parameter. The individual points correspond to the a provided array of parameter values.
- Parameters:
specdata (
SpectrumData
) – object includes parameter name, values, and matrix elementsselect_elems (
Union
[int
,List
[Tuple
[int
,int
]]]) – either maximum index of desired matrix elements, or list [(i1, i2), (i3, i4), …] of index tuples for specific desired matrix elementsmode (
str
) – choice of processing function to be applied to data (default value = ‘abs’)**kwargs – standard plotting option (see separate documentation)
- Return type:
matplotlib objects for further editing