The effects of impurities upon photoluminescence and optically induced paramagnetic states in chalcogenide glasses