Frequency response measurement of high-speed photodiodes based on a photonic sampling of an envelope-modulated microwave subcarrier.