2e85bb3890ef58f738951ad118d27a836b79312c,pynets/dmri/dmri_utils.py,,extract_b0,#Any#Any#Any#,84
Before Change
in_file, suffix="_b0", use_ext=True)
img = nib.load(in_file)
data = img.get_fdata()
b0 = data[..., b0_ixs]
hdr = img.header.copy()
After Change
img = nib.load(in_file)
b0 = np.asarray(img.dataobj).astype("float32")[..., b0_ixs]
hdr = img.header.copy()
hdr.set_data_shape(b0.shape)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: dPys/PyNets
Commit Name: 2e85bb3890ef58f738951ad118d27a836b79312c
Time: 2020-06-23
Author: dpisner@utexas.edu
File Name: pynets/dmri/dmri_utils.py
Class Name:
Method Name: extract_b0
Project Name: dPys/PyNets
Commit Name: bd78eb53776c15656943adcfbd4e72a7fb46dd6f
Time: 2019-12-25
Author: dpisner@utexas.edu
File Name: pynets/core/nodemaker.py
Class Name:
Method Name: gen_img_list
Project Name: dPys/PyNets
Commit Name: 83d4b01fa5377c083d99dc0fbe071b8090a10937
Time: 2019-12-16
Author: dpisner@utexas.edu
File Name: pynets/fmri/clustools.py
Class Name: NilParcellate
Method Name: create_clean_mask