scan.py for gaussian with angle scan
fix bug