Package topo :: Package plotting :: Module plotgroup
[hide private]
[frames] | no frames]

Module plotgroup

source code

Hierarchy of PlotGroup classes, i.e. output-device-independent sets of plots.

Includes PlotGroups for standard plots of anything in a Sheet database, plus weight plots for one unit, and projections.

$Id: plotgroup.py 9357 2008-10-02 21:19:25Z jbednar $


Version: $Revision: 9357 $

Classes [hide private]
  PlotGroup
Container that has one or more Plots and also knows how to arrange the plots and other special parameters.
  SheetPlotGroup
  TemplatePlotGroup
Container that allows creation of different types of plots in a way that is independent of particular models or Sheets.
  ProjectionSheetPlotGroup
Abstract PlotGroup for visualizations of the Projections of one ProjectionSheet.
  ProjectionActivityPlotGroup
Visualize the activity of all Projections into a ProjectionSheet.
  GridPlotGroup
A ProjectionSheetPlotGroup capable of generating coordinates on a 2D grid.
  RFProjectionPlotGroup
  ProjectionPlotGroup
  CFProjectionPlotGroup
Visualize one CFProjection.
  UnitPlotGroup
Visualize anything related to a unit.
  ConnectionFieldsPlotGroup
Visualize ConnectionField for each of a CFSheet's CFProjections.
  FeatureCurvePlotGroup
Functions [hide private]
 
cmp_plot(plot1, plot2)
Comparison function for sorting Plots.
source code
 
create_plotgroup(template_plot_type='bitmap', **params)
Create a new PlotGroup and add it to the plotgroups list.
source code
Variables [hide private]
  plotgroups = [('Orientation Preference and Complexity', Templa...
Global repository of PlotGroups, to which users can add their own as needed.
  plotgroup_types = {'Connection Fields': <class 'topo.plotting....
Function Details [hide private]

cmp_plot(plot1, plot2)

source code 
Comparison function for sorting Plots. It compares the precedence number first and then the src_name and name attributes.

create_plotgroup(template_plot_type='bitmap', **params)

source code 

Create a new PlotGroup and add it to the plotgroups list.

Convenience function to make it simpler to use the name of the PlotGroup as the key in the plotgroups list.

template_plot_type: Whether the plots are bitmap images or curves ('curve').


Variables Details [hide private]

plotgroups

Global repository of PlotGroups, to which users can add their own as needed.
Value:
[('Orientation Preference and Complexity', TemplatePlotGroup(auto_refresh=False, c\
ategory='Preference Maps', desired_maximum_plot_height=0, doc='Measure preference \
for sine grating orientation.', enforce_minimum_plot_height=True, integer_scaling=\
False, name='Orientation Preference and Complexity', normalize=False, plot_command\
='', plot_immediately=False, prerequisites=[], print_level=100, sheet_coords=False\
, update_command='from topo.analysis.vision import analyze_complexity; fm = measur\
e_or_pref(frequencies=[3.0],num_orientation=8,scale=0.3,num_phase=32,             \
pattern_presenter=PatternPresenter(pattern_generator=SineGrating(),apply_output_fn\
...

plotgroup_types

Value:
{'Connection Fields': <class 'topo.plotting.plotgroup.ConnectionFieldsPlotGroup'>,
 'Projection': <class 'topo.plotting.plotgroup.CFProjectionPlotGroup'>,
 'Projection Activity': <class 'topo.plotting.plotgroup.ProjectionActivityPlotGrou\
p'>,
 'RF Projection': <class 'topo.plotting.plotgroup.RFProjectionPlotGroup'>,
 'RF Projection (noise)': <class 'topo.plotting.plotgroup.RFProjectionPlotGroup'>}