Skip to content

Commit

Permalink
rename gamma_values function
Browse files Browse the repository at this point in the history
Co-authored-by: Nabil Freij <[email protected]>
  • Loading branch information
Ghaithq and nabobalis authored Feb 17, 2024
1 parent e6d5348 commit 2bd0c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sunkit_image/asda.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def gen_vel(vx, vy, i, j, r=3):
return np.array([vel, vel - vel.mean(axis=0)])


def gamma_values(vx, vy, factor=1, r=3):
def calculate_gamma(vx, vy, factor=1, r=3):
"""
Calculate ``gamma1`` and ``gamma2`` values of velocity field vx and vy.
Expand Down

0 comments on commit 2bd0c6c

Please sign in to comment.