Direct UV written Michelson interferometer for RZ signal generation using phase-to-intensity modulation conversion