The invention relates to optical sensors and systems and methods employing
the sensors for detecting one or more compounds of interest in a test
medium. In one embodiment an optical sensor comprising a long period
grating and a solid phase microextraction (SPME) film is exposed to a
test medium such that one or more compounds of interest are selectively
partitioned into the solid phase microextraction film. At least one
optical property of the sensor exposed to the test medium is compared
with at least one corresponding optical property of the sensor in absence
of the test medium; wherein a difference in the optical property is
indicative of one or more compounds of interest in the test medium. The
methods and systems may employ long period grating sensors with or
without SPME films, and fiber loop ring-down spectroscopy to measure
optical properties of the sensor.