You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: get_interp_fourier.m
    path of file: ./repos/ECO/implementation/initialization
    
    the code of the file until where you have to start completion: function [interp1_fs, interp2_fs] = get_interp_fourier(sz, params)

% Compute the Fourier series of the interpolation function (b_d in the

    
function [interp1_fs, interp2_fs] = get_interp_fourier(sz, params)

% Compute the Fourier series of the interpolation function (b_d in the
% paper). The interpolation method is set using params.interpolation_method:
% - 'ideal' performs ideal reconstruction, which corresponds to a periodic
%   summation of a sinc function b_d in the spatial domain.
% - 'bicubic' uses a bicubic kernel b_d in the spatial domain.

switch lower(params.interpolation_method)
    case 'none'
        % Do nothing
        interp1_fs = ones(sz(1),1);
        interp2_fs = ones(1,sz(2));
    case 'ideal'
        % Ideal reconstruction (flat in the frequency domain)
        interp1_fs = ones(sz(1),1) / sz(1);
        interp2_fs = ones(1,sz(2)) / sz(2);
    case 'bicubic'
        % Take the truncated fourier series from the cubic spline
        a = params.interpolation_bicubic_a;
        interp1_fs = real(1/sz(1) * cubic_spline_fourier((-(sz(1)-1)/2:(sz(1)-1)/2)'/sz(1), a));
        interp2_fs = real(1/sz(2) * cubic_spline_fourier((-(sz(2)-1)/2:(sz(2)-1)/2)/sz(2), a));
    otherwise
        error('Unknown dft interpolation method');
end