calculate globalrms before wavelet filtering