1
0
Fork 0

lint(api): move tile gradient logs to debug level

This commit is contained in:
Sean Sube 2023-07-03 08:05:57 -05:00
parent 197dc48b06
commit 3653723742
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ def blend_tiles(
overlap: float, overlap: float,
): ):
adj_tile = int(float(tile) * (1.0 - overlap)) adj_tile = int(float(tile) * (1.0 - overlap))
logger.trace( logger.debug(
"adjusting tile size from %s to %s based on %s overlap", tile, adj_tile, overlap "adjusting tile size from %s to %s based on %s overlap", tile, adj_tile, overlap
) )
@ -112,7 +112,7 @@ def blend_tiles(
# gradient blending # gradient blending
grad_x, grad_y = get_tile_grads(left, top, adj_tile, width, height) grad_x, grad_y = get_tile_grads(left, top, adj_tile, width, height)
logger.trace("tile gradients: %s, %s, %s", points, grad_x, grad_y) logger.debug("tile gradients: %s, %s, %s", points, grad_x, grad_y)
mult_x = [np.interp(i, points, grad_x) for i in range(tile * scale)] mult_x = [np.interp(i, points, grad_x) for i in range(tile * scale)]
mult_y = [np.interp(i, points, grad_y) for i in range(tile * scale)] mult_y = [np.interp(i, points, grad_y) for i in range(tile * scale)]