Skip to content

Commit

Permalink
minor: pass black
Browse files Browse the repository at this point in the history
  • Loading branch information
adebardo committed Nov 20, 2023
1 parent cd1a6b5 commit 63d9728
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions shareloc/geofunctions/rectification.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ def initialize_grids(epi_step, nb_row, nb_col):
return left_grid, right_grid


def moving_along_axis(geom_model_left, geom_model_right, current_coords, spacing, elevation, epi_step, epi_angles, axis):
def moving_along_axis(
geom_model_left, geom_model_right, current_coords, spacing, elevation, epi_step, epi_angles, axis
):
"""
Moving to the next line in epipolar geometry
Expand All @@ -348,8 +350,7 @@ def moving_along_axis(geom_model_left, geom_model_right, current_coords, spacing
:type epi_angles: np.ndarray
:param axis: displacement direction ( 0 = along lines, 1 = along columns)
:type axis: int
:return: left and right coordinates of the next line in epipolar geometry
or coordinates of next pixels in left epipolar line, coordinates of next pixels in right epipolar line
:return: left and right positions in epipolar grid
:rtype: Tuple([row, col, altitude], [row, col, altitude])
or Tuple(2D numpy array (number rows in epipolar geometry, [row, col, altitude]),
2D numpy array (number rows in epipolar geometry, [row, col, altitude]))
Expand Down

0 comments on commit 63d9728

Please sign in to comment.