Module pypcsim :: Class RatioBasedFamilies
[hide private]
[frames] | no frames]

Class RatioBasedFamilies

          object --+        
                   |        
         ??.instance --+    
                       |    
SpatialFamilyIDGenerator --+
                           |
                          RatioBasedFamilies

Help on RatioBasedFamilies [class]:
 Generator which does a random assignment of locations to family IDs. 
 
Implements the interface SpatialFamilyIDGenerator for merging families of neurons in one population. 
Each family has a assigned probabiliteis of occurence in the population. 
Probabilities can be given as ratios, which are then normalized such that they sum up to 1.

Instance Methods [hide private]
 
__init__(...)
Help on RatioBasedFamilies::RatioBasedFamilies(std::vector<double, std::allocator<double> > const & ratios) [constructor]
 
generateIDs(...)

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  __instance_size__ = 40
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Help on RatioBasedFamilies::RatioBasedFamilies(std::vector<double, std::allocator<double> > const & ratios) [constructor]

Overrides: object.__init__

generateIDs(...)

 
Overrides: SpatialFamilyIDGenerator.generateIDs