Skip to content

Commit

Permalink
Update return parameters of phase_cross_correlation()
Browse files Browse the repository at this point in the history
  • Loading branch information
nicocardiel committed Oct 18, 2023
1 parent 8140363 commit bdd041f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emirdrp/recipes/spec/stare.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def run(self, rinput):
moving_mask = (data2_rs > 0)
# the number of arguments returned by phase_cross_correlation
# is only 1 when reference_mask and moving_mask are used
shifts = phase_cross_correlation(
shifts, _, _ = phase_cross_correlation(
data1_rs, data2_rs, upsample_factor=100,
reference_mask=reference_mask,
moving_mask=moving_mask, overlap_ratio=0.9)
Expand Down

0 comments on commit bdd041f

Please sign in to comment.