


% -*- texinfo -*-
% @deftypefn {Function File} {irsa_act.m}
% [@var{rxp},@var{ryp},@var{err}] = irsa_act (@var{xp}, @var{yp}, @var{fmax},
% [@var{Nout}], [@var{itmax}],[@var{thresh}])
%
% Reconstructs a band-limited signal from an irregular sampled timeseries
% using Adaptive weights, Conjugate gradients and Toeplitz matrices.
%
% Input:
%
% @var{xp} : Vector -- sampling points
%
% @var{yp} : Vector -- corresponding sampling values
%
% @var{fmax} : Scalar -- maximum (band-limiting) frequency
%
% @var{Nout} : Vector -- Number of sampling points for the
% representation of the reconstruced signal. Default is the shortest
% possible representation.
%
% @var{itmax} : Scalar -- maximum number of reconstruction iterations.
% Default is twice the number of the frequencies.
%
% @var{thresh}: Scalar -- threshold for conjugate gradients (stop
% criterion). Default is machine precision.
%
% Output:
%
% @var{rfyp} : Columnvector -- reconstructed spectrum
%
% @var{err} : Columnvector -- error for each iteration step
%
% @end deftypefn