Mechanistic understanding of the sensing process by analyzing response curves of TiO2 based humidity sensors