The shrinkage effect of polymer films, which was demonstrated in our photob
leaching experiment, can be fitted approximately by an exponentially decayi
ng function. After taking the shrinkage effect into account, the index prof
ile of the polymer waveguide was determined to be a Fermi function with the
help of the m-line method and the exact transfer matrix theory.