Finger junction photodetectors for optical gas sensing