Real-time phase distribution analysis in moire