POD analysis with Python