Electronic structure of YbTX compounds