A precision wide‐range optical gap measurement technique