Experimental comparison between spectral ratio and rise time techniques for attenuation measurement