Skip to content

Commit

Permalink
BF
Browse files Browse the repository at this point in the history
  • Loading branch information
36000 committed Oct 29, 2024
1 parent c93f377 commit 1357e13
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions AFQ/recognition/other_bundles.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ def clean_relative_to_other_core(core, this_fgarray, other_fgarray, affine):
core_axis = 0
core_direc = 1

for ii in range(3):
if affine[ii, ii] < 0:
core_direc = -core_direc
if affine[core_axis, core_axis] < 0:
core_direc = -core_direc

core_bundle = np.median(other_fgarray, axis=0)
cleaned_idx_core = np.zeros(this_fgarray.shape[0], dtype=np.bool8)
Expand Down

0 comments on commit 1357e13

Please sign in to comment.