Linear and nonlinear optical response dependency on the crystallite size of CdTe and its structural properties