mcstasscript.instrument_diagnostics.plot_overview.PlotOverview

mcstasscript.instrument_diagnostics.plot_overview.PlotOverview

class mcstasscript.instrument_diagnostics.plot_overview.PlotOverview(event_plotter_list, view_list)

Class for plotting list of views at different points in instrument

__init__(event_plotter_list, view_list)

Stores list of event plotters and views, able to create figure

parameters:

event_plotter_listlist of EventPlotter objects

EventPlotter objects for each investigated point in instrument

view_listlist of View objects

View specifications which will all be used for each point

Methods

__init__(event_plotter_list, view_list)

Stores list of event plotters and views, able to create figure

plot_all([figsize, same_scale])

Plots all views for all guide points

set_same_scale()

Uses minimum and maximum of each dataset to find global min/max

plot_all(figsize=None, same_scale=True)

Plots all views for all guide points

The same_scale features is enabled per default, but even then individual Views can opt out of being drawn on the same scale.

Parameters:

figsizetuple of length 2

size of figure, default scales according to number of plots

same_scalebool

Allow the use of the same scale feature (default)

set_same_scale()

Uses minimum and maximum of each dataset to find global min/max