A calibration approach for the segmentation and analysis of microwave circuits