Coded smoothing filter into the scan.py class. Currently untested.