modified to be a wrapper around the canny1d on/off detector.  previous version has been off loaded into dst_onoff_grad.py
typo in output file name