diff options
author | rcoh <rcoh@mit.edu> | 2011-01-04 10:43:21 -0500 |
---|---|---|
committer | rcoh <rcoh@mit.edu> | 2011-01-04 10:43:21 -0500 |
commit | dcc7afcea31c968575446b7f215d6780f747d7fb (patch) | |
tree | 52591d98be214371d96795f4995e637ce95d7759 /pixelmappers | |
parent | f5c29b39f3eef83227e3fb7c550d9b2922a19894 (diff) | |
parent | 134de4472d3f2fa913944770595de9221dd27fdf (diff) |
Merge branch 'bens-cleanup' of github.com:rcoh/SmootLight
Conflicts:
operationscore/Input.py
pixelevents/DecayEvent.py
util/ColorOps.py
Diffstat (limited to 'pixelmappers')
-rw-r--r-- | pixelmappers/GaussianMapper.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pixelmappers/GaussianMapper.py b/pixelmappers/GaussianMapper.py index 8755acf..8fdf16b 100644 --- a/pixelmappers/GaussianMapper.py +++ b/pixelmappers/GaussianMapper.py @@ -9,5 +9,6 @@ class GaussianMapper(PixelMapper): pixelDist = Geo.dist(pixel.location, eventLocation) if pixelDist < self['CutoffDist']: w = Geo.gaussian(pixelDist, self['Height'], 0, self['Width']) - returnPixels.append((pixel, w)) + if w > self['MinWeight']: + returnPixels.append((pixel, w)) return returnPixels |