Skip to content

Commit 4c66622

Browse files
committed
add duecredit reference
1 parent 54a6acb commit 4c66622

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

nipype/algorithms/misc.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import warnings
3030

3131
from .. import logging
32+
from ..external.due import due, Doi, BibTeX
3233
from . import metrics as nam
3334
from ..interfaces.base import (BaseInterface, traits, TraitedSpec, File,
3435
InputMultiPath, OutputMultiPath,
@@ -73,6 +74,25 @@ class FramewiseDisplacement(BaseInterface):
7374
input_spec = FramewiseDisplacementInputSpec
7475
output_spec = FramewiseDisplacementOutputSpec
7576

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+
7696
def _run_interface(self, runtime):
7797
mpars = np.loadtxt(self.inputs.in_plots) # mpars is N_t x 6
7898
diff = mpars[:-1, :] - mpars[1:, :]
@@ -1225,6 +1245,10 @@ class SplitROIs(BaseInterface):
12251245
"""
12261246
Splits a 3D image in small chunks to enable parallel processing.
12271247
ROIs keep time series structure in 4D images.
1248+
1249+
Example
1250+
-------
1251+
12281252
>>> from nipype.algorithms import misc
12291253
>>> rois = misc.SplitROIs()
12301254
>>> rois.inputs.in_file = 'diffusion.nii'

0 commit comments

Comments
 (0)