ed5d6458ed2a6b264ffceec6a547a78ccdac75ff,dipy/io/utils.py,,decfa_to_float,#Any#,101

Before Change


    https://nifti.nimh.nih.gov/nifti-1/documentation/nifti1fields/nifti1fields_pages/datatype.html
    

    data_orig = img_orig.get_fdata()
    out_data = np.zeros(data_orig.shape + (3, ), dtype=np.uint8)

    for ii in np.ndindex(img_orig.shape[:3]):
        val = data_orig[ii]

After Change


    https://nifti.nimh.nih.gov/nifti-1/documentation/nifti1fields/nifti1fields_pages/datatype.html
    

    data_orig = np.asanyarray(img_orig.dataobj)
    out_data = np.zeros(data_orig.shape + (3, ), dtype=np.uint8)

    for ii in np.ndindex(img_orig.shape[:3]):
        val = data_orig[ii]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nipy/dipy
Commit Name: ed5d6458ed2a6b264ffceec6a547a78ccdac75ff
Time: 2019-12-30
Author: skab12@gmail.com
File Name: dipy/io/utils.py
Class Name:
Method Name: decfa_to_float


Project Name: nipy/dipy
Commit Name: ed5d6458ed2a6b264ffceec6a547a78ccdac75ff
Time: 2019-12-30
Author: skab12@gmail.com
File Name: dipy/io/tests/test_utils.py
Class Name:
Method Name: test_decfa


Project Name: nipy/dipy
Commit Name: ed5d6458ed2a6b264ffceec6a547a78ccdac75ff
Time: 2019-12-30
Author: skab12@gmail.com
File Name: dipy/workflows/tests/test_segment.py
Class Name:
Method Name: test_median_otsu_flow