add analyzeq.py