Example #1
0
 def test_004(self):
     xnat.plot_segment(config='.xnat.cfg',
                       experiment_id='BBRCDEV_E02859',
                       axes='x',
                       raw=False,
                       animated=False,
                       savefig=None)
Example #2
0
 def test_xnat_freesurfer7_extras_010(self):
     from nisnap import xnat
     xnat.plot_segment(config='.xnat.cfg',
                       experiment_id='BBRCDEV_E02823',
                       resource_name='FREESURFER7_EXTRAS',
                       savefig='/tmp/test.png',
                       fn='hypothalamic_subunits_seg.v1.mgz')
     xnat.plot_segment(config='.xnat.cfg',
                       experiment_id='BBRCDEV_E02823',
                       resource_name='FREESURFER7',
                       savefig='/tmp/test.png')
Example #3
0
 def test_xnat_spm12_006(self):
     from nisnap import xnat
     xnat.plot_segment(config='.xnat.cfg',
                       experiment_id='BBRCDEV_E02859',
                       resource_name='SPM12_SEGMENT',
                       axes='x',
                       opacity=100,
                       slices=range(160, 180, 3),
                       rowsize={'x': 9},
                       animated=False,
                       contours=True,
                       cache=True)
Example #4
0
 def test_xnat_cat12_008(self):
     from nisnap import xnat
     xnat.plot_segment(config='.xnat.cfg',
                       experiment_id='BBRCDEV_E00375',
                       resource_name='CAT12_SEGMENT',
                       figsize=(10, 3),
                       axes='x',
                       opacity=50,
                       slices=range(160, 180, 3),
                       rowsize=9,
                       animated=False,
                       contours=False,
                       cache=False,
                       samebox=True)
Example #5
0
 def test_007_ashs(self):
     figsize = {'x': (10, 3)}
     from nisnap import xnat
     xnat.plot_segment(config='.xnat.cfg',
                       experiment_id='BBRCDEV_E02443',
                       resource_name='ASHS',
                       figsize=figsize,
                       axes='x',
                       opacity=50,
                       slices=range(8, 27, 1),
                       rowsize=5,
                       animated=True,
                       raw=False,
                       contours=False,
                       cache=False)