extract_power_stable function

Extract power from a wavelet spectra by using a constant period/duration