Infrared spectroscopy is the benchmark method for detecting and analyzing organic compounds. But it requires complicated procedures and large, expensive instruments, making device miniaturization challenging and hindering its use for some industrial and medical applications and for data collection out in the field, such as for measuring pollutant concentrations. Furthermore, it is fundamentally limited by low sensitivities and therefore requires large sample amounts.