function [tbl] = load_radar_scans(hdf_file, channel)

if (channel ~= 'a' && channel ~= 'b')
    disp('selecting channel a');
    channel = 'a';
end

root = ['/radar_' channel];

time = h5read(hdf_file, [root '/time']);
angle = h5read(hdf_file, [root '/angle']);
range = h5read(hdf_file, [root '/range']);
scan = h5read(hdf_file, [root '/scan'])'; %take the transpose

tbl =  table(time, angle, range, scan);
end
