function w_acc = getAccLims(w_acc,Ts)
% Maps accuracy limits for discrete-time SHH eigenvalues Ed to accuracy
% limits for equivalents continuous-time eigenvalues:
%    Ec = log((1+Ed)/(1-Ed))/Ts  .
%
% See also ltipack.eigSHH.

%   Copyright 2019 The MathWorks, Inc.

% Use aproximation of Ec for |E|<<1 and |E|>>1
wmin = w_acc(1);   wmax = w_acc(2);   
w_acc = [0 pi/Ts];
if wmin<0.1
   w_acc(1) = 2*wmin/Ts;
end
if wmax>10
   w_acc(2) = (pi-2/wmax)/Ts;
end
