In their paper from 1996 Duvillaret et al. described a reliable method to extract optical constants from THz-TDS measurements by taking the complex refractive indices of the surrounding media and sample into consideration, and solving the inverse problem of extracting the complex index of refraction iteratively from the measured transmission coefficient .