Update example_analysis.py

collapse samples