An optical gas sensor based on ellipsometric readout