Skip to content

Commit

Permalink
Fix subscaling for SyN and remove extraneous print
Browse files Browse the repository at this point in the history
  • Loading branch information
gdevenyi committed Aug 22, 2018
1 parent 1e52899 commit fc61120
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/mb_generate_SyN_iterations_logspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@
iterations.append(str(min(6400, int(np.around(50 * (scale)**3)))))

if resscale > 1:
scale = resscale
while scale > 1:
print(scale)
scale = resscale / 2
while scale >= 1:
shrinks.append(str(int(np.ceil(scale))))
blurs.append(str(np.sqrt((scale / resscale)**2 - s0**2)))
iterations.append(str(min(6400, int(np.around(50 * (scale)**3)))))
Expand Down

0 comments on commit fc61120

Please sign in to comment.