Text this: An optimized method of partial discharge data retrieval technique for phase resolved pattern