paperF0default; % from first paper (compIPscatt) (with seti.pdaN = 10)
% remark default: pdaN = 50 is not a good idea here... it does not work very good

% paper0TolIn; % use stopping strategy 2 (tolIn) as in first paper (compIPscatt)
% Problem of TolIn: does too much inner iterations; do not use it here.

seti.alpha = 1E6;
% autoparam3 with useTolIn = 1: 1E5 was too low; 1E6 was good;
% In addition, 1E7 was OK, but between 1E6 and 1E7 sometimes weird...
% So, use 1E6.
seti.beta = seti.alpha*1E-5/500;

seti.fresnelFreq = 6*1E9; % standard 3 and 5 GHz

freqGHz = seti.fresnelFreq/1E9;
switch freqGHz
    case 1
        seti.delta = 0.65; % error of data in % (percentage): real 11.5, imag 64.5 (see compIPscatt paper)
        seti.delta = 0.25; % only rough localization of the two obstacles
    case 2
        seti.delta = 0.47; % real 46.7, imag 8.1
        seti.delta = 0.25; % reasonable stop with tau = 1.6...
    case 3
        seti.delta = 0.15; % real 13.4, imag 21.6
    case 4
        seti.delta = 0.48; % real 47.9, imag 15.6
    case 5
        seti.delta = 0.25; % real 20.3, imag 27.4
    case 6
        seti.delta = 0.60; % real 59.5, imag 36.8
        seti.delta = 0.15; % good choice in combination with seti.tau = 1.6
    case 7
        seti.delta = 0.40; % real 25.2, imag 42.9
    case 8
        seti.delta = 0.70; % real 72.2, imag 41.1
        seti.delta = 0.25;
end
clear freqGHz;

seti.fresnelFile = 'inexpdata/fresnel_opus_1/twodielTM_8f.exp';

seti.plotFreqiPda = 1E4;

% -- figures and files

seti.plotFreq = 10;
seti.plotPublish = 1;

seti.colormap = 'default';
seti.usecbarlim = 1;
seti.cbarlim = [-0.7, 2.0]; %seti.cbarlim = [-0.2, 1.4]; % seti.cbarlim = [-0.40,2.40];

seti.savepng = 1;
seti.saveepsc = 1;
seti.savefig = 1;

seti.savedata = 1;