In an embodiment this is specific for O2 partial pressure, but other embodiments measure the concentrations or partial pressures of other metabolic gases or products, such as CO2, pH, and lactic acid.A light source 26 and detector 28, preferably LEDs and photodiode, respectively, are shown in FIG. 2c and FIG. 3c.