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
5ef73908
Commit
5ef73908
authored
Jul 03, 2019
by
Simon Maretzke
Browse files
bug fix
parent
6cc13131
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions/fresnelPropagation/fresnelPropagate.m
View file @
5ef73908
...
...
@@ -134,7 +134,7 @@ end
% Automatically choose suitable padded size if required
if
strcmpi
(
settings
.
sizePad
,
'auto'
)
settings
.
sizePad
=
sizeIn
+
2
*
ceil
(
0.5
.
/
abs
(
fresnelNumbers
(:)
.'
));
settings
.
sizePad
=
sizeIn
+
max
(
2
*
ceil
(
0.5
.
/
abs
(
fresnelNumbers
.'
)
),
[],
1
);
settings
.
sizePad
=
max
(
settings
.
sizePad
,
settings
.
sizeOut
);
% For convolution-based methods, padded size need not be greater
...
...
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