The optical properties of AgInTe2 thin films