Skip to content

Commit

Permalink
Merge pull request #7 from dshuman1/gsp_filter_analysis_update
Browse files Browse the repository at this point in the history
Updated gsp_filter_analysis to allow other parameters to get passed through to gsp_cheb_coeffs
  • Loading branch information
mdeff authored Jan 17, 2018
2 parents e172da0 + bbefaa7 commit 8d477ec
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions filters/gsp_filter_analysis.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@
% Default: if the Fourier matrix is present: 'exact' otherwise 'cheby'
% * *param.order* : Degree of the Chebyshev approximation
% (default=30).
% * *param.grid_order* : grid order used to compute quadrature
% (default is param.order+1)
% * *param.verbose* : Verbosity level (0 no log - 1 display warnings)
% (default 1).
% (default 1)
%
% See also: gsp_filter_synthesis gsp_filter_inverse
% See also: gsp_filter_synthesis gsp_filter_inverse
%
% References: hammond2011wavelets
%
Expand Down Expand Up @@ -114,6 +116,7 @@
end

if ~isfield(param,'order'); param.order = 30; end
if ~isfield(param,'grid_order'); param.grid_order = param.order+1; end
if ~isfield(param,'verbose'); param.verbose = 1; end

if isfield(param, 'cheb_order')
Expand Down Expand Up @@ -174,7 +177,7 @@


cheb_coeffs = gsp_cheby_coeff(G, fi,...
param.order, param.order +1);
param.order, param.grid_order, param);
c = gsp_cheby_op(G, cheb_coeffs, s);
% case 'cheby_p'
%
Expand Down

0 comments on commit 8d477ec

Please sign in to comment.