diff --git a/nipype/interfaces/afni/model.py b/nipype/interfaces/afni/model.py new file mode 100644 index 0000000000..9e9703b877 --- /dev/null +++ b/nipype/interfaces/afni/model.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- +# vi: set ft = python sts = 4 ts = 4 sw = 4 et: +"""AFNI modeling interfaces + +Examples +-------- +See the docstrings of the individual classes for examples. + .. testsetup:: + # Change directory to provide relative paths for doctests + >>> filepath = os.path.dirname( os.path.realpath( __file__ ) ) + >>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/data')) + >>> os.chdir(datadir) +""" +from __future__ import print_function, division, unicode_literals, absolute_import +from builtins import str, bytes + +import os +import os.path as op +import re +import numpy as np + +from ...utils.filemanip import (load_json, save_json, split_filename) +from ..base import ( + CommandLineInputSpec, CommandLine, Directory, TraitedSpec, + traits, isdefined, File, InputMultiPath, Undefined, Str) +from ...external.due import BibTeX + +from .base import ( + AFNICommandBase, AFNICommand, AFNICommandInputSpec, AFNICommandOutputSpec) + +class DeconvolveInputSpec(AFNICommandInputSpec): + pass + +class DeconvolveOutputSpec(TraitedSpec): + pass + +class Deconvolve(AFNICommand): + """Performs OLS regression given a 4D neuroimage file and stimulus timings + + For complete details, see the `3dDeconvolve Documentation. + `_ + + Examples + ======== + + >>> from nipype.interfaces import afni + >>> deconvolve = afni.Deconvolve() + """