Skip to content

Commit 51fafbf

Browse files
committed
Add documentation for LoganRef class
1 parent 603c3ef commit 51fafbf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

nipype/interfaces/freesurfer/petsurfer.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,16 @@ class LoganRefOutputSpec(GLMFitInputSpec):
553553
bp = File(desc="BP estimates")
554554

555555
class LoganRef(GLMFit):
556+
"""Perform Logan reference kinetic modeling.
557+
Examples
558+
--------
559+
>>> logan = LoganRef()
560+
>>> logan.inputs.in_file = 'tac.nii'
561+
>>> logan.inputs.logan = [('ref_tac.dat', 'timing.dat', 2600)]
562+
>>> logan.inputs.glmdir = 'logan'
563+
>>> logan.cmdline == 'mri_glmfit --glmdir logan --y tac.nii --mrtm2 ref_tac.dat timing.dat 2600'
564+
"""
565+
556566
_cmd = "mri_glmfit"
557567
input_spec = LoganRefInputSpec
558568
output_spec = LoganRefOutputSpec

0 commit comments

Comments
 (0)