Commit 93ec127f authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

[core][imageregistration] Fix typo with steps

parent 549ee07d
Pipeline #50058 passed with stage
in 2 minutes and 16 seconds
......@@ -26,7 +26,7 @@
__authors__ = ["J. Garriga"]
__license__ = "MIT"
__date__ = "17/06/2021"
__date__ = "07/07/2021"
import enum
......@@ -193,7 +193,7 @@ def improve_linear_shift(data, v, h, epsilon, steps, nimages=None, shift_approac
score = {}
utils.advancement_display(0, h + epsilon, "Finding shift")
step = 2 * epsilon / steps
step = epsilon / steps
for h_ in numpy.arange(0, h + epsilon, step):
result = numpy.zeros(data[0].shape)
for iFrame in iData:
......
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