A method of spectroscopy, comprises: transmitting output radiation to a sample; collecting from the sample input radiation being indicative of interaction between the output radiation and the sample; modulating at least one of the output radiation and the input radiation, wherein at least one of the output radiation and the modulation is characterized by a scanned parameter; combining the input radiation, following the modulation, with a reference signal to provide a combined signal; processing the combined signal to construct a vector describing a dependence of a radiation property of the input radiation on the parameter; and at least partially identifying the sample or a change in comprises sample based on at least the vector.