Electronic structure of the hexaindium heptasulfide In6S7