Automated system for the characterization of high resistivity semiconductors by the van der Pauw method