Commit 6cc13131 authored by Simon Maretzke's avatar Simon Maretzke
Browse files

prevent multiple GPU-usage-warnings per call

parent 6fa73aac
......@@ -195,9 +195,10 @@ N = size(holograms(:,:,1));
% ----------------------------------------------------------------------------------------------- %
settingsCTF = settings;
settingsCTF.optimization = struct;
settingsCTF.padx = 0; % Holograms are already padded,
settingsCTF.pady = 0; % so no more padding necessary
settingsCTF.useGPUIfPossible = useGPU;
settingsCTF.optimization = struct;
initialGuess = gpuArrayIf(phaserec_ctf(holograms, fresnelNumbers, settingsCTF), useGPU);
% Preliminary nonlinearity-correction in the reconstructed absorption, applied in the low-frequency
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment