Python Script for gate level detection for Muulam test data