Optical scatterometry based on spectroscopic ellipsometry and other measurement techniques together with optical simualtions are used to analyze the quality of various nanostructure patterns and to study the optical behavior of selected photonic and plasmonic devices