Micromachined methane sensor based on low resolution spectral modulation of IR absorption radiation