Shock profile analysis using wavelet transform