Package SmootLight :: Package behaviors :: Module AllPixelsLeft
[hide private]
[frames] | no frames]

Source Code for Module SmootLight.behaviors.AllPixelsLeft

 1  from operationscore.Behavior import * 
 2  import util.ComponentRegistry as compReg 
 3  import pdb 
4 -class AllPixelsLeft(Behavior):
5 """Behavior which returns all points left of its input. No Args."""
6 - def processResponse(self, sensorInputs, recursiveInputs):
7 for sensory in sensorInputs: 8 xLoc = sensory['Location'][0] 9 sensory['Location'] = '{x}<' + str(xLoc) 10 return (sensorInputs, recursiveInputs)
11