Skip to content

Commit

Permalink
Enable normalization in mapca call
Browse files Browse the repository at this point in the history
  • Loading branch information
notZaki authored Mar 21, 2021
1 parent d67d9bd commit eee5afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tedana/decomposition/pca.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def tedpca(data_cat, data_oc, combmode, mask, adaptive_mask, t2sG,
data_img = io.new_nii_like(ref_img, utils.unmask(data, mask))
mask_img = io.new_nii_like(ref_img, mask.astype(int))
voxel_comp_weights, varex, varex_norm, comp_ts = ma_pca(
data_img, mask_img, algorithm)
data_img, mask_img, algorithm, normalize=True)
elif isinstance(algorithm, Number):
ppca = PCA(copy=False, n_components=algorithm, svd_solver="full")
ppca.fit(data_z)
Expand Down

0 comments on commit eee5afe

Please sign in to comment.