I need your assistance to answer a question about filter design in iradon. Actually, in line of sight projections (beam deflections), in contrary to the other techniques such as absorption, the ram lak filter is replaced by another one whose discrete response is :
and in the frequency domain it is represented as :
Inspiring from iradon I implemented my filter as follow :
n = 0:(order/2);
filtImpResp = zeros(1,(order/2)+1);
filtImpResp(1) = 0; % Set the DC term
filtImpResp(2:2:end) = 1./(pi^2.*n(2:2:end));
filtImpResp = [filtImpResp -filtImpResp(end-1:-1:2)];
filt =imag(fft(filtImpResp))
% but it doesn't give a good results.
Could you please have a look at that? Is my implementation accurate? Especially I have a doubt in regards to this line in the original iradon function :
filt = 2*real(fft(filtImpResp));
Why is it multiplied by 2? What should I do in my case?
Many thanks in advance
Best regards