Skip to content

Commit ac38645

Browse files
committed
enh: updated mindboggle atlases
1 parent 6682859 commit ac38645

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

examples/rsfmri_preprocessing.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@
3333
3434
specifically the 2mm versions of:
3535
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>`_
3838
3939
The 2mm version was generated with::
4040
4141
>>> from nipype import freesurfer as fs
4242
>>> 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'
4545
>>> rs.inputs.voxel_size = (2., 2., 2.)
4646
>>> rs.inputs.args = '-rt nearest -ns 1'
4747
>>> res = rs.run()
@@ -584,7 +584,7 @@ def create_workflow(files,
584584
reg.inputs.use_histogram_matching = [False] * 3 + [True]
585585
reg.inputs.output_warped_image = 'output_warped_image.nii.gz'
586586
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')
588588
reg.inputs.num_threads = 4
589589
reg.plugin_args = {'qsub_args': '-l nodes=1:ppn=4'}
590590

@@ -641,8 +641,8 @@ def create_workflow(files,
641641
ts2txt.inputs.indices = [8] + range(10, 14) + [17, 18, 26, 47] +\
642642
range(49, 55) + [58]
643643
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'))
646646
wf.connect(sample2mni, 'output_image', ts2txt, 'timeseries_file')
647647

648648
# Save the relevant data into an output directory

0 commit comments

Comments
 (0)