|
29 | 29 | import warnings
|
30 | 30 |
|
31 | 31 | from .. import logging
|
| 32 | +from ..external.due import due, Doi, BibTeX |
32 | 33 | from . import metrics as nam
|
33 | 34 | from ..interfaces.base import (BaseInterface, traits, TraitedSpec, File,
|
34 | 35 | InputMultiPath, OutputMultiPath,
|
@@ -73,6 +74,25 @@ class FramewiseDisplacement(BaseInterface):
|
73 | 74 | input_spec = FramewiseDisplacementInputSpec
|
74 | 75 | output_spec = FramewiseDisplacementOutputSpec
|
75 | 76 |
|
| 77 | + references_ = [{ |
| 78 | + 'entry': BibTex("""\ |
| 79 | +@article{power_spurious_2012, |
| 80 | + title = {Spurious but systematic correlations in functional connectivity {MRI} networks \ |
| 81 | +arise from subject motion}, |
| 82 | + volume = {59}, |
| 83 | + doi = {10.1016/j.neuroimage.2011.10.018}, |
| 84 | + number = {3}, |
| 85 | + urldate = {2016-08-16}, |
| 86 | + journal = {NeuroImage}, |
| 87 | + author = {Power, Jonathan D. and Barnes, Kelly A. and Snyder, Abraham Z. and Schlaggar, \ |
| 88 | +Bradley L. and Petersen, Steven E.}, |
| 89 | + year = {2012}, |
| 90 | + pages = {2142--2154}, |
| 91 | +} |
| 92 | +"""), |
| 93 | + 'tags': ['method'] |
| 94 | + }] |
| 95 | + |
76 | 96 | def _run_interface(self, runtime):
|
77 | 97 | mpars = np.loadtxt(self.inputs.in_plots) # mpars is N_t x 6
|
78 | 98 | diff = mpars[:-1, :] - mpars[1:, :]
|
@@ -1225,6 +1245,10 @@ class SplitROIs(BaseInterface):
|
1225 | 1245 | """
|
1226 | 1246 | Splits a 3D image in small chunks to enable parallel processing.
|
1227 | 1247 | ROIs keep time series structure in 4D images.
|
| 1248 | +
|
| 1249 | + Example |
| 1250 | + ------- |
| 1251 | +
|
1228 | 1252 | >>> from nipype.algorithms import misc
|
1229 | 1253 | >>> rois = misc.SplitROIs()
|
1230 | 1254 | >>> rois.inputs.in_file = 'diffusion.nii'
|
|
0 commit comments