% get_spd_on
% for inject cast, get speed of pump when it is on

%load Z:\oc415_2\sled\INJ_003_fl.mat
%load Z:\oc415_2\sled\INJ_003_spd.mat

psf6_1 = pump_1 + p1_sf6;
psf6_2 = pump_2 + p2_sf6;
ind_p1 = find(psf6_1 == 2);
ind_p2 = find(psf6_2 == 2);

plot(yearday(ind_p1),spd_1(ind_p1),'.')
plot(yearday(ind_p2),spd_2(ind_p2),'.r')
