Skip to content

Commit f71c0c7

Browse files
author
bpinsard
committed
doc and __init__
1 parent 61bdad6 commit f71c0c7

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

nipype/interfaces/fsl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
SliceTimer, SUSAN, PRELUDE, FUGUE, FIRST)
1212
from .model import (Level1Design, FEAT, FEATModel, FILMGLS, FEATRegister,
1313
FLAMEO, ContrastMgr, MultipleRegressDesign, L2Model, SMM,
14-
MELODIC, SmoothEstimate, Cluster, Randomise)
14+
MELODIC, SmoothEstimate, Cluster, Randomise, GLM)
1515
from .utils import (Smooth, Merge, ExtractROI, Split, ImageMaths, ImageMeants,
1616
ImageStats, FilterRegressor, Overlay, Slicer,
1717
PlotTimeSeries, PlotMotionParams, ConvertXFM,

nipype/interfaces/fsl/model.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,6 +1542,15 @@ class GLMOutputSpec(TraitedSpec):
15421542
desc = 'file or image output')
15431543

15441544
class GLM(FSLCommand):
1545+
"""
1546+
FSL GLM:
1547+
1548+
Example
1549+
-------
1550+
>>> import nipype.interfaces.fsl as fsl
1551+
>>> glm = fsl.GLM(in_file='functional.nii', design = 'maps.nii')
1552+
>>> glm.cmdline
1553+
"""
15451554
_cmd = 'fsl_glm'
15461555
input_spec = GLMInputSpec
15471556
output_spec = GLMOutputSpec

0 commit comments

Comments
 (0)