spvctrl.data.plot.plot_data#
- plot_data(data: TspvData, basename: str | None = None, out_dir: str | Path | None = None, title=None, **kw) list[Path][source]#
Generate and save the useful plots of a transient as pdf files.
Saves linear and log-x plots of the available channels (the SPV channel, and the diode channel when it is recorded), and a log-x plot of the SPV channel only, into
out_dir(default: the data directory).- Parameters:
data – TspvData to plot
basename – Basename of the pdf files. Defaults to the data name.
out_dir – Directory to save the pdf files in. Defaults to the data directory.
title – Plot title. Defaults to True, i.e. the data name is used.
kw – Passed on to
plot_transient()
- Returns:
List of saved file paths