analysis.py