Functionalized single-wall carbon nanotube-based gas sensor