Spatial Perception Python Model