1. A detector material for a detector comprising: a semiconductor doped with a donor, wherein a concentration of the donor lies at its maximum solubility in a material of the semiconductor, and the donor forms flat defects in the semiconductor material.