A signal x is reconstructed by measuring the signal x as a vector y of measurements yi, wherein the measurements yi are distorted, and each measurement yi has an associated value. The coherency of a received signal is determined and only the frequency of a coherent signal is determined. Thus, there is provided a robust device for the protective and easy introduction of an SPME fiber into a sampling environment where such devices conventionally could not be used.