Text this: Comparative analysis of segmented correlation trimmed mean algorithm for locating random and static partial discharges in power cables