function un=getunit(uba,i)
% get the unit with that number
un=uba.units{i};
