Text this: Optimized Wavelet Transform for the Development of an Algorithm Designed for the Analysis of Digital Substation Electrical Equipment Parameters