Skip to content

Commit de613b5

Browse files
author
bpinsard
committed
adding doctest to sigloss
1 parent 00eb23c commit de613b5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

nipype/interfaces/fsl/utils.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,6 +1174,15 @@ class SigLossOuputSpec(TraitedSpec):
11741174
desc='signal loss estimate file')
11751175

11761176
class SigLoss(FSLCommand):
1177+
"""Estimates signal loss from a field map (in rad/s)
1178+
1179+
Examples
1180+
--------
1181+
>>> sigloss = Sigloss()
1182+
>>> sigloss.inputs.in_file = "phase.nii"
1183+
>>> sigloss.inputs.echo_time = 0.03
1184+
>>> res = sigloss.run() # doctest: +SKIP
1185+
"""
11771186
input_spec = SigLossInputSpec
11781187
output_spec = SigLossOuputSpec
11791188
_cmd = 'sigloss'

0 commit comments

Comments
 (0)