Features of the electrical conductivity of TlInSe2 under photoexcitation and X-ray excitation