Electrically detected magnetic resonance (EDMR) is a materials characterisation technique that improves upon electron spin resonance. It involves measuring the change in electrical resistance of a sample when exposed to certain microwave frequencies. It can be used to identify very small numbers (down to a few hundred atoms) of impurities in semiconductors.