0c6388a26950beaeec0925e67b9bfb55ccfa2fde,nilearn/plotting/tests/test_img_plotting.py,,testdata_4d,#,51

Before Change


    Random 4D images for testing figures for multivolume data.
    
    rng = np.random.RandomState(42)
    img_4d = nibabel.Nifti1Image(rng.rand(7, 7, 3, 10), mni_affine)
    img_4d_long = nibabel.Nifti1Image(rng.rand(7, 7, 3, 1777), mni_affine)
    img_mask = nibabel.Nifti1Image(np.ones((7, 7, 3), int), mni_affine)
    data = {
        "img_4d": img_4d,

After Change


def testdata_4d():
    Random 4D images for testing figures for multivolume data.
    
    rng = np.random.RandomState(42)
    img_4d = nibabel.Nifti1Image(rng.uniform(size=(7, 7, 3, 10)), mni_affine)
    img_4d_long = nibabel.Nifti1Image(
        rng.uniform(size=(7, 7, 3, 1777)), mni_affine
    )
    img_mask = nibabel.Nifti1Image(np.ones((7, 7, 3), int), mni_affine)
    data = {
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: nilearn/nilearn
Commit Name: 0c6388a26950beaeec0925e67b9bfb55ccfa2fde
Time: 2020-10-06
Author: 46817791+chouhanaryan@users.noreply.github.com
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: testdata_4d


Project Name: nilearn/nilearn
Commit Name: 0c6388a26950beaeec0925e67b9bfb55ccfa2fde
Time: 2020-10-06
Author: 46817791+chouhanaryan@users.noreply.github.com
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: testdata_4d


Project Name: nilearn/nilearn
Commit Name: 0c6388a26950beaeec0925e67b9bfb55ccfa2fde
Time: 2020-10-06
Author: 46817791+chouhanaryan@users.noreply.github.com
File Name: nilearn/image/tests/test_image.py
Class Name:
Method Name: test_mean_img


Project Name: nilearn/nilearn
Commit Name: 0c6388a26950beaeec0925e67b9bfb55ccfa2fde
Time: 2020-10-06
Author: 46817791+chouhanaryan@users.noreply.github.com
File Name: nilearn/image/tests/test_resampling.py
Class Name:
Method Name: test_resampling_fill_value