## -*- texinfo -*-
## @deftypefn {Function File} {@var{names} =} dsp_topo_names (@var{arch_idx})
## Return the topology / method names offered for a given architecture as a
## cell array of strings, in the order used by the @code{topo_idx} argument
## of @code{dsp_compute_filter}.
##
## @var{arch_idx} is 1 for IIR and 2 for FIR.  Every window that populates
## the Topology / Method popup uses this function, so the list is defined
## once.
## @end deftypefn

function names = dsp_topo_names(arch_idx)
    if arch_idx == 1
        names = {"Butterworth", "Chebyshev I", "Chebyshev II", "Elliptic"};
    else
        names = {"Rectangular Window", "Hamming Window", "Hanning Window", ...
                 "Blackman Window", "Kaiser Window", "Parks-McClellan", ...
                 "Least-Squares"};
    end
end
