:mod:`ocelot.gui.sr_plot` ========================= .. py:module:: ocelot.gui.sr_plot Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: ocelot.gui.sr_plot.show_flux ocelot.gui.sr_plot.D1 ocelot.gui.sr_plot.D3 ocelot.gui.sr_plot.plot3D_data .. data:: __author__ :annotation: = Sergey Tomin .. function:: show_flux(screen, show='Total', xlim=(0, 0), ylim=(0, 0), file_name=None, unit='mm', title=None, nfig=1, grid=True, xlog=False, ylog=False) Function to plot radiation flux density 1D and 3D :param screen: Screen class :param show: str, show polarization component, can be "Total", "Sigma" or "Pi" :param xlim: (0,0), xlimits, ignored if (0,0) :param ylim: (0,0), ylimits, ignored if (0,0) :param file_name: str, if None flux will be shown otherwise save to file :param unit: str, units for spatial axis, can be "mm" or "mrad", :param title: figure title :param nfig: figure number :param grid: True, if False not show the grid :param xlog: False, log scale for x-axis :param ylog: False, log scale for y-axis :return: .. function:: D1(data, X, distance, xlabel, xlim, ylim, file_name, unit, status, xlog=False, ylog=False, title=None, nfig=1, grid=True) .. function:: D3(screen, Data, distance, file_name=None, unit='mm', title=None, nfig=1) .. function:: plot3D_data(data, x=None, y=None)