Skip to content

Commit

Permalink
Update nitransforms/vis.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
jmarabotto and effigies authored Jul 23, 2024
1 parent 91191ae commit 0d8d997
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nitransforms/vis.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,10 +447,6 @@ def plot_coeffs(self, fig, axes, xslice, yslice, zslice, s=0.1, show_titles=True
i, j, k = abs(i), abs(j), abs(k)
L1, L2, L3 = sorted([i, j, k], reverse=True)
asum = np.sum([i, j, k])
if L1 == L2 == L3 == 0:
pass
else:
assert L2 <= L1 and L2 >= L3

cl = (L1 - L2) / asum
cl_arr.append(cl) if cl != np.nan else cl.append(0)
Expand Down

0 comments on commit 0d8d997

Please sign in to comment.