Thin sample refractive index by transmission spectroscopy.