Python Get Phase Of Signal