|
33 | 33 |
|
34 | 34 | specifically the 2mm versions of:
|
35 | 35 |
|
36 |
| -- `Joint Fusion Atlas <http://mindboggle.info/data/atlases/jointfusion/OASIS-TRT-20_DKT31_CMA_jointfusion_labels_in_MNI152_2mm.nii.gz>`_ |
37 |
| -- `MNI template <http://mindboggle.info/data/templates/ants/OASIS-TRT-20_template_in_MNI152_2mm.nii.gz>`_ |
| 36 | +- `Joint Fusion Atlas <http://mindboggle.info/data/atlases/jointfusion/OASIS-TRT-20_jointfusion_DKT31_CMA_labels_in_MNI152_2mm.nii.gz>`_ |
| 37 | +- `MNI template <http://mindboggle.info/data/templates/ants/OASIS-30_Atropos_template_in_MNI152_2mm.nii.gz>`_ |
38 | 38 |
|
39 | 39 | The 2mm version was generated with::
|
40 | 40 |
|
41 | 41 | >>> from nipype import freesurfer as fs
|
42 | 42 | >>> rs = fs.Resample()
|
43 |
| - >>> rs.inputs.in_file = 'OASIS-TRT-20_DKT31_CMA_jointfusion_labels_in_MNI152.nii.gz' |
44 |
| - >>> rs.inputs.resampled_file = 'OASIS-TRT-20_DKT31_CMA_jointfusion_labels_in_MNI152_2mm.nii.gz' |
| 43 | + >>> rs.inputs.in_file = 'OASIS-TRT-20_jointfusion_DKT31_CMA_labels_in_MNI152.nii.gz' |
| 44 | + >>> rs.inputs.resampled_file = 'OASIS-TRT-20_jointfusion_DKT31_CMA_labels_in_MNI152_2mm.nii.gz' |
45 | 45 | >>> rs.inputs.voxel_size = (2., 2., 2.)
|
46 | 46 | >>> rs.inputs.args = '-rt nearest -ns 1'
|
47 | 47 | >>> res = rs.run()
|
@@ -584,7 +584,7 @@ def create_workflow(files,
|
584 | 584 | reg.inputs.use_histogram_matching = [False] * 3 + [True]
|
585 | 585 | reg.inputs.output_warped_image = 'output_warped_image.nii.gz'
|
586 | 586 | reg.inputs.fixed_image = \
|
587 |
| - os.path.abspath('OASIS-TRT-20_template_to_MNI152_2mm.nii.gz') |
| 587 | + os.path.abspath('OASIS-30_Atropos_template_in_MNI152_2mm.nii.gz') |
588 | 588 | reg.inputs.num_threads = 4
|
589 | 589 | reg.plugin_args = {'qsub_args': '-l nodes=1:ppn=4'}
|
590 | 590 |
|
@@ -641,8 +641,8 @@ def create_workflow(files,
|
641 | 641 | ts2txt.inputs.indices = [8] + range(10, 14) + [17, 18, 26, 47] +\
|
642 | 642 | range(49, 55) + [58]
|
643 | 643 | ts2txt.inputs.label_file = \
|
644 |
| - os.path.abspath(('OASIS-TRT-20_DKT31_CMA_jointfusion_labels_in_MNI152' |
645 |
| - '_2mm.nii.gz')) |
| 644 | + os.path.abspath(('OASIS-TRT-20_jointfusion_DKT31_CMA_labels_in_MNI152_' |
| 645 | + '2mm.nii.gz')) |
646 | 646 | wf.connect(sample2mni, 'output_image', ts2txt, 'timeseries_file')
|
647 | 647 |
|
648 | 648 | # Save the relevant data into an output directory
|
|
0 commit comments