ptypy.utils.plot_client.figure_from_ptycho#

ptypy.utils.plot_client.figure_from_ptycho(P, pars=None)#

Returns a matplotlib figure displaying a reconstruction from a Ptycho instance.

Parameters:
  • P (Ptycho) – Ptycho instance

  • pars (Plotting paramters, optional) – plotting template as u.Param() istance

Returns:

fig

Return type:

matplotlib.figure.Figure