Power Quality Analyzer in Python