spinqick.helper_functions.plot_tools
Functions to help with plotting data output from averager functions and spinqickdata classes.
Functions
|
Plot output of acquire_decimated(). |
|
Helper for evaluating NDAverager data. |
|
Helper for evaluating NDAverager data from experiments that use a reference measurement. |
|
Helper for plotting NDAverager data. |
|
Helper for plotting NDAverager data. |
|
Basic 2D plot. |
|
Basic 1D plot. |
|
Plot psb data 2D plot. |
|
Plot psb data 1d plot. |
Module Contents
- spinqick.helper_functions.plot_tools.plot_decimated(iq_list, config, plot_iq=False)
Plot output of acquire_decimated().
- spinqick.helper_functions.plot_tools.interpret_data_dcs(avgi, avgq, data_dim='2D')
Helper for evaluating NDAverager data.
- spinqick.helper_functions.plot_tools.interpret_data_psb(avgi, avgq, data_dim='2D', thresh=None)
Helper for evaluating NDAverager data from experiments that use a reference measurement.
- spinqick.helper_functions.plot_tools.plot2_psb_data(pnts, avgi, avgq, psb=True, thresh=None, transpose=True)
Helper for plotting NDAverager data.
- spinqick.helper_functions.plot_tools.plot1_psb_data(pnts, avgi, avgq, thresh=None)
Helper for plotting NDAverager data.
- spinqick.helper_functions.plot_tools.plot2_simple(xarray, yarray, data, timestamp, cbar_label='DCS conductance, arbs')
Basic 2D plot.
- Parameters:
data (numpy.ndarray) – 2d array of data which matches the dimensions of xarray and yarray
xarray (numpy.ndarray)
yarray (numpy.ndarray)
timestamp (int)
cbar_label (str)
- spinqick.helper_functions.plot_tools.plot1_simple(xarray, data, timestamp, dset_label=None, new_figure=True, **kwargs)
Basic 1D plot.
- Parameters:
xarray (numpy.ndarray)
data (numpy.ndarray)
timestamp (int)
dset_label (str | None)
new_figure (bool)
- spinqick.helper_functions.plot_tools.plot2_psb(sqd, x_gate, y_gate)
Plot psb data 2D plot.
- Parameters:
sqd (spinqick.core.spinqick_data.PsbData) – the spinqick data object containing the data
x_gate (str) – the name of the swept x-axis parameter from the spinqick.axes dictionary.
y_gate (str) – the name of the swept y-axis parameter from the spinqick.axes dictionary.
- spinqick.helper_functions.plot_tools.plot1_psb(sqd, x_gate, **kwargs)
Plot psb data 1d plot.
- Parameters:
sqd (spinqick.core.spinqick_data.PsbData) – the spinqick data object containing the data
x_gate (str) – the name of the swept x-axis parameter, typically a gate name.