A simple wave mixing application in python