Bio-Inspired Encoding for a Real-Time and Stable Odor Detection with a Highly-Redundant Optical Artificial Olfactory System