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

Class CFIter

source code


Iterator to walk through all ConnectionFields of all neurons in the destination Sheet of the given CFProjection. Each iteration yields the tuple (cf,i) where cf is the ConnectionField at position i in the projection's flatcfs list.

If active_units_mask is True, inactive units will be skipped. If ignore_sheet_mask is True, even units excluded by the sheet mask will be included.

Instance Methods [hide private]
 
__init__(self, cfprojection, active_units_mask=False, ignore_sheet_mask=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__nomask(self) source code
 
get_sheet_mask(self) source code
 
get_active_units_mask(self) source code
 
get_overall_mask(self)
Return an array indicating whether or not each unit should be processed.
source code
 
__call__(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, cfprojection, active_units_mask=False, ignore_sheet_mask=False)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)