A method for inspecting a sample in an apparatus for micromachining samples, the apparatus including an integral combination of a sample holder for holding the sample, a focused ion beam exposure system comprising an assembly for projecting a focused ion beam onto a first position where, in use, the focused ion beam impinges on the sample held by the sample holder, and a light optical system, wherein the light optical system comprises a light source for projecting light towards the sample holder, light collecting optics for collecting at least part of the light from the sample on the sample holder, and a detector for detecting at least a part said collected light, wherein the light optical system comprises an imaging detector and/or a wavelength selective element,
- the method comprising the steps of:
- providing a sample that has at least partially been micromachined by the focused ion beam exposure system;
- projecting light towards the sample and collecting at least part of the light from said sample;
- analyzing the light collected by the light collecting optics and establishing a measure for the modulation of an intensity of said collected light due to an optical interference of said light from a first surface of the sample and light from a second surface of the sample, wherein the first surface of said sample is facing towards the light collecting optics of the light optical system and wherein the first surface is arranged in between the second surface of sample and the light collecting optics of the light optical system, and wherein said measure is established for one or more positions on the sample and/or for one or more wavelengths of the projected light;
- and
- using the measure for the modulation of said collected light due to the optical interference for establishing a measure for the distance between said first surface and said second surface,
- wherein the detector comprises a spectrometer which is configured for measuring the intensity of the collected light from the sample as a function of the wavelength of said light,
- wherein the light source is configured for projecting light with a predetermined spectral intensity distribution towards the sample,
- wherein the step of analyzing the light collected by the light collecting optics further comprises:
- measuring the intensity of the collected light from the sample as a function of the wavelength of said light using said spectrometer in order to establish the measure for the modulation of the intensity of said collected light due to the optical interference of said light from the first surface of the sample and light from the second surface of the sample, for various wavelengths of the projected light, and using the wavelength dependence of the modulation of the intensity of said collected light for establishing a measure for the distance between said first surface and said second surface.