Spectrometre in situ