Package SmootLight :: Package pixelmappers :: Module GaussianMapper :: Class GaussianMapper
[hide private]
[frames] | no frames]

Class GaussianMapper

source code

                                    object --+        
                                             |        
operationscore.SmootCoreObject.SmootCoreObject --+    
                                                 |    
            operationscore.PixelMapper.PixelMapper --+
                                                     |
                                                    GaussianMapper

GaussianMapper is a PixelMapper which weights pixels around an event proportional to a gaussian surface. Specify: <Height> -- The height of the gaussian surface <Width> -- The width of the gaussian surface <MinWeight> -- the minimum weight event that can be returned <CutoffDist> -- the maximum radius considered

Instance Methods [hide private]
 
mappingFunction(self, eventLocation, screen)
Takes a Screen and event location and returns a list of tuples (pixel,weight) with sum(weights)=1
source code

Inherited from operationscore.PixelMapper.PixelMapper: init, mapEvent

Inherited from operationscore.SmootCoreObject.SmootCoreObject: __contains__, __getitem__, __getiter__, __init__, __setitem__, acquireLock, addDieListener, className, die, releaseLock, removeDieListener, validateArgDict, validateArgs

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]

mappingFunction(self, eventLocation, screen)

source code 

Takes a Screen and event location and returns a list of tuples (pixel,weight) with sum(weights)=1

Overrides: operationscore.PixelMapper.PixelMapper.mappingFunction
(inherited documentation)