Simultaneous liquid level and refractive index measurements with a POF-based sensor