Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
irp
HoloTomoToolbox
Commits
6cc13131
Commit
6cc13131
authored
Jul 03, 2019
by
Simon Maretzke
Browse files
prevent multiple GPU-usage-warnings per call
parent
6fa73aac
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions/phaseRetrieval/holographic/phaserec_nonlinTikhonov.m
View file @
6cc13131
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment