bspysmg.utils.plots#

File containing several methods for plotting purposes.

Functions

iv_plot(result, inputs, input_electrode[, ...])

Plots IV characteristics and optinally saves the graph for a given electrode number.

multi_iv_plot(configs, inputs, output[, ...])

Plots the IV curve of several devices in one plot.

output_hist(outputs, data_dir[, bins, show])

Saves and optionally plots the histogram of output/predictions of the model.

plot_error_hist(targets, prediction, error, ...)

Plots and saves error histogram graph for between given target and predicted.

plot_error_vs_output(targets, error, save_dir)

Plots and saves error vs output graph for given error and their correspoding output.

plot_waves(inputs, outputs, input_no, ...)

Plots and saves input and output waves for the model.