data = readtable("data\20240806_034_DF402_pHtest_responsetime_trimmed.txt");

figure(1)
clf
plot(data.Vrse)
title('DF402 response time')
% 135:177
% 229:264
% 272:294
%% roughly calculate the 95% response time of the sensor
responsetime95 = data.MM_DD_YYYYHH_MM_SS(372) - data.MM_DD_YYYYHH_MM_SS(358)
responsetime95 = data.MM_DD_YYYYHH_MM_SS(481) - data.MM_DD_YYYYHH_MM_SS(452)
responsetime95 = data.MM_DD_YYYYHH_MM_SS(322) - data.MM_DD_YYYYHH_MM_SS(305)