9 software expert system for the automatic analysis of optical data, e;g;, reflectometry, ellipsometry, scatterometry, or any combination thereof, to determine film thicknesses and/or optical constants of materials; It is applicable to single films or multiple-film stacks on any sample