Engineers have developed a tool to provide quantitative feedback on material quality, with particular applications in optoelectronic devices.