Performance characterization of optical fiber oxygen sensor in gas and aqueos phase