function data = update_raw(data, aux_struct)
% data = update_raw(data, aux_struct)
%
% run through the fields of aux_struct and stick them into data
% 

fnames = fieldnames(aux_struct);
for fnamei = 1:length(fnames)
   fname = fnames{fnamei};
   data = setfield(data, fname, getfield(aux_struct, fname));
end

