Skip to content

Commit

Permalink
Update complex.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Dec 18, 2024
1 parent 21f76b9 commit fe2f70a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fmripost_phase/utils/complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def to_mag(real, imag):
https://www.eeweb.com/quizzes/convert-between-real-imaginary-and-magnitude-phase
"""
mag = np.sqrt((real ** 2) + (imag ** 2))
mag = np.sqrt((real**2) + (imag**2))
return mag


Expand Down

0 comments on commit fe2f70a

Please sign in to comment.