spvctrl.data.plot.plot_transient#

plot_transient(data: TspvData | np.ndarray, what: str | list[str] = 'U_spv_V', xlog: bool = False, columns: list[str] | None = None, **kw) → tuple[source]#

Plot a transient SPV measurement.

Thin wrapper around devctrl.data.time.plot.plot_time_data() with the time axis key fixed to t_s.

Parameters:
  • data – TspvData, or 2D numpy array with the columns given by columns

  • what – Column key or list of column keys to plot, e.g. "U_spv_V" or ["U_spv_V", "U_diode_V"]

  • xlog – Whether to use a logarithmic x axis

  • columns – Column keys of data if a numpy array is given. Defaults to TspvData.TRANSIENT_COLUMNS.

  • kw – Passed on to devctrl.data.time.plot.plot_time_data(), e.g. ax, fig, title, ts.

Returns:

figure, axis