optics analysis