%  Plots bearing vs. time image and allows user to pick points off 
%  multiple traces.  Outputs time-brg track file for input into abxm.
%  setno     = dataset number in HDF file;
%  clims     = [cmin,cmax] = min,max correlation or dB level ([]=min,max in data);
%  nwindow	= # pixels in bearing on each side of chosen points to look for 
% 			peak (0=no quadratic interpolation);
%  nterp		= # samples in time to interpolate between chosen points;
%  iiseq:	1=seq #, 2=MOY, 3=HOD on vertical axis of HDF file;
%  iisin:	0=degrees, 1=sin(phi) on horizontal axis of HDF file;
%
% COPYRIGHT (c) 2008
% 
% Applied Research Laboratories, The University of Texas at Austin
% (ARL:UT)
% All rights reserved.
% 
% This material may be reproduced by or for the U.S. Government
% only. This notice must appear in all copies of this file and its
% derivatives. Further distribution outside the U.S. Government is
% prohibited without the explicit written authorization from the
% Director of the Environmental Sciences Laboratory, ARL:UT.
% 
% THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
% EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE
% IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
% PURPOSE, OR NONINFRINGEMENT.
% 
% IN NO EVENT WILL ARL:UT BE LIABLE FOR ANY DAMAGES WHATSOEVER ARISING
% OUT OF THE USE OR INABILITY TO USE THIS SOFTWARE, EVEN IF ARL:UT HAS
% BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

hdf_file='ev401_s2_ad13_231_ed_ed.hdf';
trk_root=[];
setno=1;
clims=[];
nwindow=3;
nterp=0;
iiseq=3;
iisin=0;
seqlim=[];
[bt_arr]=abx_track_pick(hdf_file,trk_root,setno,clims,nwindow,nterp,iiseq,iisin,seqlim);
