add cy.py for analyzing log