Measuring the Absorption coefficient via side light analysis