N_BK7.findByIndex

raytracing.N_BK7.findByIndex(n, wavelength, tolerance=0.05)