Package topo :: Package base :: Module cf :: Class CFSheet
[hide private]
[frames] | no frames]

Class CFSheet

source code

                       object --+                
                                |                
param.parameterized.Parameterized --+            
                                    |            
            simulation.EventProcessor --+        
                                        |        
                           object --+   |        
                                    |   |        
    sheetcoords.SheetCoordinateSystem --+        
                                        |        
                              sheet.Sheet --+    
                                            |    
                   projection.ProjectionSheet --+
                                                |
                                               CFSheet
Known Subclasses:

A ProjectionSheet providing access to the ConnectionFields in its CFProjections.

CFSheet is a Sheet built from units indexed by Sheet coordinates (x,y). Each unit can have one or more ConnectionFields on another Sheet (via this sheet's CFProjections). Thus CFSheet is a more concrete version of a ProjectionSheet; a ProjectionSheet does not require that there be units or weights of any kind. Unless you need access to the underlying ConnectionFields for visualization or analysis, CFSheet and ProjectionSheet are interchangeable.

Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]
 
release_unit_view(self, x, y) source code
 
update_unit_view(self, x, y, proj_name='')
Creates the list of UnitView objects for a particular unit in this CFSheet.
source code

Inherited from projection.ProjectionSheet: __init__, activate, input_event, learn, override_plasticity_state, present_input, process_current_time, projections, restore_plasticity_state

Inherited from sheet.Sheet: activity_len, release_sheet_view, row_col_sheetcoords, sheet_cols, sheet_offset, sheet_rows, state_pop, state_push

Inherited from sheet.Sheet (private): _get_density

Inherited from simulation.EventProcessor: script_repr, send_output, start

Inherited from simulation.EventProcessor (private): _src_connect

Inherited from param.parameterized.Parameterized: __getstate__, __repr__, __setstate__, __str__, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, set_dynamic_time_fn, verbose, warning

Inherited from sheetcoords.SheetCoordinateSystem: closest_cell_center, matrix2sheet, matrixidx2sheet, sheet2matrix, sheet2matrixidx, sheetcoordinates_of_matrixidx

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Class Variables [hide private]
  measure_maps = param.Boolean(True, doc= ...
Whether to include this Sheet when measuring various maps to create SheetViews.
  precedence = param.Number(0.5)
Allows a sorting order for Sheets, e.g.

Inherited from projection.ProjectionSheet: apply_output_fn, dest_ports, divisive_constant, mask, multiplicative_constant, output_fn, src_ports

Inherited from sheet.Sheet: layout_location, nominal_bounds, nominal_density, plastic

Inherited from param.parameterized.Parameterized: name, print_level

Properties [hide private]

Inherited from sheet.Sheet: density

Inherited from sheetcoords.SheetCoordinateSystem: shape, xdensity, ydensity

Inherited from object: __class__

Method Details [hide private]

update_unit_view(self, x, y, proj_name='')

source code 

Creates the list of UnitView objects for a particular unit in this CFSheet. (There is one UnitView for each Projection to this CFSheet).

Each UnitView is then added to the sheet_views of its source sheet. It returns the list of all UnitViews for the given unit.


Class Variable Details [hide private]

measure_maps

Whether to include this Sheet when measuring various maps to create SheetViews.
Value:
param.Boolean(True, doc= """
        Whether to include this Sheet when measuring various maps to create SheetV\
iews.""")

precedence

Allows a sorting order for Sheets, e.g. in the GUI.
Value:
param.Number(0.5)