예제 #1
0
 def test_is_diffusion_imaging(self):
     diffusion_group = convert_ge._get_grouped_dicoms(read_dicom_directory(test_data.GE_DTI))
     _4d_group = convert_ge._get_grouped_dicoms(read_dicom_directory(test_data.GE_FMRI))
     anatomical_group = convert_ge._get_grouped_dicoms(read_dicom_directory(test_data.GE_ANATOMICAL))
     assert convert_ge._is_diffusion_imaging(diffusion_group)
     assert not convert_ge._is_diffusion_imaging(_4d_group)
     assert not convert_ge._is_diffusion_imaging(anatomical_group)
예제 #2
0
 def test_is_diffusion_imaging(self):
     diffusion_group = convert_ge._get_grouped_dicoms(read_dicom_directory(test_data.GE_DTI))
     _4d_group = convert_ge._get_grouped_dicoms(read_dicom_directory(test_data.GE_FMRI))
     anatomical_group = convert_ge._get_grouped_dicoms(read_dicom_directory(test_data.GE_ANATOMICAL))
     assert convert_ge._is_diffusion_imaging(diffusion_group)
     assert not convert_ge._is_diffusion_imaging(_4d_group)
     assert not convert_ge._is_diffusion_imaging(anatomical_group)
예제 #3
0
 def test_is_4d(self):
     diffusion_group = convert_ge._get_grouped_dicoms(read_dicom_directory(test_data.GE_DTI))
     _4d_group = convert_ge._get_grouped_dicoms(read_dicom_directory(test_data.GE_FMRI))
     anatomical_group = convert_ge._get_grouped_dicoms(read_dicom_directory(test_data.GE_ANATOMICAL))
     self.assertTrue(convert_ge._is_4d(diffusion_group))
     self.assertTrue(convert_ge._is_4d(_4d_group))
     self.assertFalse(convert_ge._is_4d(anatomical_group))
예제 #4
0
 def test_is_4d(self):
     diffusion_group = convert_ge._get_grouped_dicoms(read_dicom_directory(test_data.GE_DTI))
     _4d_group = convert_ge._get_grouped_dicoms(read_dicom_directory(test_data.GE_FMRI))
     anatomical_group = convert_ge._get_grouped_dicoms(read_dicom_directory(test_data.GE_ANATOMICAL))
     self.assertTrue(convert_ge._is_4d(diffusion_group))
     self.assertTrue(convert_ge._is_4d(_4d_group))
     self.assertFalse(convert_ge._is_4d(anatomical_group))