BGlib.be.viz.be_viz_utils.plot_loop_guess_fit

BGlib.be.viz.be_viz_utils.plot_loop_guess_fit(vdc, ds_proj_loops, ds_guess, ds_fit, title='')[source]

Plots the loop guess, fit, source projected loops for a single cycle

Parameters:
  • array (ds_fit - 1D compound numpy) – DC offset vector (unshifted)

  • array – Projected loops arranged as [position, vdc]

  • array – Loop guesses arranged as [position]

  • array – Loop fits arranged as [position]

  • unicode (title - (Optional) String /) – Title for the figure

Returns:

  • fig - matplotlib.pyplot.figure object – Figure handle

  • axes - 2D array of matplotlib.pyplot.axis handles – handles to axes in the 2d figure