Package topo :: Package tkgui :: Module testpattern :: Class TestPattern
[hide private]
[frames] | no frames]

Class TestPattern

source code


Nested Classes [hide private]
  sheet_type
Sheet for generating a series of 2D patterns.

Inherited from param.parameterized.Parameterized: __metaclass__

Inherited from Tkinter.Misc: getdouble, getint

Instance Methods [hide private]
 
__init__(self, master, plotgroup=None, **params)
Construct a widget with the parent widget MASTER, a name WIDGETNAME and appropriate options.
source code
 
setup_plotgroup(self)
Perform any necessary initialization of the plotgroup.
source code
 
switch_sheet(self) source code
 
change_pattern_generator(self)
Set the current PatternGenerator to the one selected and get the ParametersFrameWithApply to draw the relevant widgets
source code
 
refresh(self)
Simply update the plots: skip all handling of history.
source code
 
present_pattern(self)
Move the user created patterns into the GeneratorSheets, run for the specified length of time, then restore the original patterns.
source code

Inherited from plotgrouppanel.SheetPanel: check_for_cfs, check_for_rfs, conditional_redraw, conditional_refresh, set_auto_refresh

Inherited from plotgrouppanel.PlotGroupPanel: add_to_plotgroups_history, destroy, display_labels, display_plots, enlarge_plots, get_plotgroup, navigate_pg_history, redraw_plots, reduce_plots, refresh_plots, refresh_title, rescale_plots, set_dock, set_plotgroup, update_plot_frame

Inherited from param.tk.TkParameterized: gui_get_param, gui_set_param, hide_param, pack_param, repack_param, unhide_param, unpack_param, update_selector

Inherited from param.tk.TkParameterizedBase: __getattribute__, __repr__, __setattr__, change_PO, get_parameter_object, get_parameter_value, get_source_po, set_parameter_value

Inherited from param.parameterized.Parameterized: __getstate__, __setstate__, __str__, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, script_repr, set_default, set_dynamic_time_fn, set_param, state_pop, state_push, verbose, warning

Inherited from object: __delattr__, __format__, __hash__, __new__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__

Inherited from Tkinter.BaseWidget (private): _do, _setup

Inherited from Tkinter.Misc: __contains__, __getitem__, __setitem__, after, after_cancel, after_idle, bbox, bell, bind, bind_all, bind_class, bindtags, cget, clipboard_append, clipboard_clear, clipboard_get, colormodel, columnconfigure, config, configure, deletecommand, event_add, event_delete, event_generate, event_info, focus, focus_displayof, focus_force, focus_get, focus_lastfor, focus_set, getboolean, getvar, grab_current, grab_release, grab_set, grab_set_global, grab_status, grid_bbox, grid_columnconfigure, grid_location, grid_propagate, grid_rowconfigure, grid_size, grid_slaves, image_names, image_types, keys, lift, lower, mainloop, nametowidget, option_add, option_clear, option_get, option_readfile, pack_propagate, pack_slaves, place_slaves, propagate, quit, register, rowconfigure, selection_clear, selection_get, selection_handle, selection_own, selection_own_get, send, setvar, size, slaves, tk_bisque, tk_focusFollowsMouse, tk_focusNext, tk_focusPrev, tk_menuBar, tk_setPalette, tk_strictMotif, tkraise, unbind, unbind_all, unbind_class, update, update_idletasks, wait_variable, wait_visibility, wait_window, waitvar, winfo_atom, winfo_atomname, winfo_cells, winfo_children, winfo_class, winfo_colormapfull, winfo_containing, winfo_depth, winfo_exists, winfo_fpixels, winfo_geometry, winfo_height, winfo_id, winfo_interps, winfo_ismapped, winfo_manager, winfo_name, winfo_parent, winfo_pathname, winfo_pixels, winfo_pointerx, winfo_pointerxy, winfo_pointery, winfo_reqheight, winfo_reqwidth, winfo_rgb, winfo_rootx, winfo_rooty, winfo_screen, winfo_screencells, winfo_screendepth, winfo_screenheight, winfo_screenmmheight, winfo_screenmmwidth, winfo_screenvisual, winfo_screenwidth, winfo_server, winfo_toplevel, winfo_viewable, winfo_visual, winfo_visualid, winfo_visualsavailable, winfo_vrootheight, winfo_vrootwidth, winfo_vrootx, winfo_vrooty, winfo_width, winfo_x, winfo_y

Inherited from Tkinter.Misc (private): _bind, _configure, _displayof, _getboolean, _getdoubles, _getints, _grid_configure, _nametowidget, _options, _register, _report_exception, _root, _substitute

Inherited from Tkinter.Pack: forget, info, pack, pack_configure, pack_forget, pack_info

Inherited from Tkinter.Place: place, place_configure, place_forget, place_info

Inherited from Tkinter.Grid: grid, grid_configure, grid_forget, grid_info, grid_remove, location

Class Methods [hide private]

Inherited from plotgrouppanel.SheetPanel: valid_context

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Class Variables [hide private]
  dock = param.Boolean(False)
on console or not
  edit_sheet = param.ObjectSelector(doc= ...
Sheet for which to edit pattern properties.
  plastic = param.Boolean(default= False, doc= ...
Whether to enable plasticity during presentation.
  duration = param.Number(default= 1.0, softbounds= (0.0, 10.0),...
How long to run the simulation for each presentation.
  Present = tk.Button(doc= """Present this pattern to the simula...
Present this pattern to the simulation.
  pattern_generator = param.ClassSelector(default= Constant(), c...
Type of pattern to present.
  name = <param.parameterized.String object at 0xaccd3ec>
String identifier for this object.

Inherited from plotgrouppanel.PlotGroupPanel: Back, Enlarge, Fwd, Redraw, Reduce, Refresh, button_image_size, gui_desired_maximum_plot_height

Inherited from param.tk.TkParameterized: pretty_parameters

Inherited from param.tk.TkParameterizedBase (private): _extraPO

Inherited from base.functionfamily.PatternDrivenAnalysis: post_analysis_session_hooks, post_presentation_hooks, pre_analysis_session_hooks, pre_presentation_hooks

Inherited from param.parameterized.Parameterized: print_level

Inherited from Tkinter.Misc: _noarg_

Inherited from Tkinter.Misc (private): _subst_format, _subst_format_str, _tclCommands

Properties [hide private]

Inherited from plotgrouppanel.PlotGroupPanel: plotgroup

Inherited from object: __class__

Method Details [hide private]

__init__(self, master, plotgroup=None, **params)
(Constructor)

source code 
Construct a widget with the parent widget MASTER, a name WIDGETNAME and appropriate options.
Overrides: Tkinter.BaseWidget.__init__
(inherited documentation)

setup_plotgroup(self)

source code 

Perform any necessary initialization of the plotgroup.

Subclasses can use this to set Parameters on their PlotGroups.

Overrides: plotgrouppanel.PlotGroupPanel.setup_plotgroup
(inherited documentation)

refresh(self)

source code 
Simply update the plots: skip all handling of history.
Overrides: plotgrouppanel.PlotGroupPanel.refresh

Class Variable Details [hide private]

edit_sheet

Sheet for which to edit pattern properties.
Value:
param.ObjectSelector(doc= """
        Sheet for which to edit pattern properties.""")

plastic

Whether to enable plasticity during presentation.
Value:
param.Boolean(default= False, doc= """
        Whether to enable plasticity during presentation.""")

duration

How long to run the simulation for each presentation.
Value:
param.Number(default= 1.0, softbounds= (0.0, 10.0), doc= """
        How long to run the simulation for each presentation.""")

Present

Present this pattern to the simulation.
Value:
tk.Button(doc= """Present this pattern to the simulation.""")

pattern_generator

Type of pattern to present. Each type has various parameters that can be changed.
Value:
param.ClassSelector(default= Constant(), class_= PatternGenerator, doc= """
        Type of pattern to present. Each type has various parameters that can be c\
hanged.""")