function [t, mfet_wu, nano_wu] = WarmUpTime(data)
%WARMUPTIME calculates the time for Vrse measurements to stabilize

ii = find(abs(diff(data.Vrse1)) < 2.5E-5,1); % somewhat arbitrary
iy = find(abs(diff(data.Vrse2)) < 2.5E-5,1);

mfet_wu = data.SampTime1(ii) - data.SampTime1(1);
nano_wu = data.SampTime2(iy) - data.SampTime2(1);

t = ['sensor warm up times. mfet: ', string(mfet_wu),...
    ' nano: ', string(nano_wu)];

end

