% run adcp menu to convert beam to earth
% save as XXXXXX.mat

load wh185000
i=sqrt(-1);
ieast=[1:nbins];
inorth=[(nbins+1):(2*nbins)];
w=[vel(ieast,:)+i*vel(inorth,:)];
w=w.'/10;
jd=TIM(:);

% remember that bins can come in and out of the water,
% as the range is 3 m
%[wlp,jdlp]=plfilt(w(:,1:20),jd,4);

