@@ -102,7 +102,8 @@ class UnaryMaths(MathsCommand):
102102 """Interface for executable seg_maths from NiftySeg platform.
103103
104104 Interface to use any unary mathematical operations that can be performed
105- with the seg_maths command-line program. See below for those operations:
105+ with the seg_maths command-line program. See below for those operations::
106+
106107 -sqrt Square root of the image.
107108 -exp Exponential root of the image.
108109 -log Log of the image.
@@ -133,9 +134,8 @@ class UnaryMaths(MathsCommand):
133134 -4to5 Flip the 4th and 5th dimension.
134135 -range Reset the image range to the min max
135136
136- For source code, see http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg
137- For Documentation, see:
138- http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg_documentation
137+ `Source code <http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg>`_ |
138+ `Documentation <http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg_documentation>`_
139139
140140 Examples
141141 --------
@@ -216,7 +216,8 @@ class BinaryMaths(MathsCommand):
216216 """Interface for executable seg_maths from NiftySeg platform.
217217
218218 Interface to use any binary mathematical operations that can be performed
219- with the seg_maths command-line program. See below for those operations:
219+ with the seg_maths command-line program. See below for those operations::
220+
220221 -mul <float/file> Multiply image <float> value or by other image.
221222 -div <float/file> Divide image by <float> or by other image.
222223 -add <float/file> Add image by <float> or by other image.
@@ -248,9 +249,8 @@ class BinaryMaths(MathsCommand):
248249 -splitinter <x/y/z> Split interleaved slices in direction <x/y/z>
249250 into separate time points
250251
251- For source code, see http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg
252- For Documentation, see:
253- http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg_documentation
252+ `Source code <http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg>`_ |
253+ `Documentation <http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg_documentation>`_
254254
255255 Examples
256256 --------
@@ -348,8 +348,9 @@ class BinaryMathsInteger(MathsCommand):
348348 """Interface for executable seg_maths from NiftySeg platform.
349349
350350 Interface to use any integer mathematical operations that can be performed
351- with the seg_maths command-line program. See below for those operations:
352- (requiring integer values)
351+ with the seg_maths command-line program. See below for those operations::
352+
353+ (requiring integer values)
353354 -equal <int> Get voxels equal to <int>
354355 -dil <int> Dilate the image <int> times (in voxels).
355356 -ero <int> Erode the image <int> times (in voxels).
@@ -358,9 +359,8 @@ class BinaryMathsInteger(MathsCommand):
358359 -pad <int> Pad <int> voxels with NaN value around each 3D
359360 volume.
360361
361- For source code, see http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg
362- For Documentation, see:
363- http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg_documentation
362+ `Source code <http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg>`_ |
363+ `Documentation <http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg_documentation>`_
364364
365365 Examples
366366 --------
@@ -436,17 +436,17 @@ class TupleMaths(MathsCommand):
436436 """Interface for executable seg_maths from NiftySeg platform.
437437
438438 Interface to use any tuple mathematical operations that can be performed
439- with the seg_maths command-line program. See below for those operations:
439+ with the seg_maths command-line program. See below for those operations::
440+
440441 -lncc <file> <std> Local CC between current img and <file>
441442 on a kernel with <std>
442443 -lssd <file> <std> Local SSD between current img and <file>
443444 on a kernel with <std>
444445 -lltsnorm <file_norm> <float> Linear LTS normalisation assuming
445446 <float> percent outliers
446447
447- For source code, see http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg
448- For Documentation, see:
449- http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg_documentation
448+ `Source code <http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg>`_ |
449+ `Documentation <http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg_documentation>`_
450450
451451 Examples
452452 --------
@@ -504,13 +504,13 @@ class Merge(MathsCommand):
504504 """Interface for executable seg_maths from NiftySeg platform.
505505
506506 Interface to use the merge operation that can be performed
507- with the seg_maths command-line program. See below for this option:
507+ with the seg_maths command-line program. See below for this option::
508+
508509 -merge <i> <d> <files> Merge <i> images and the working image in the
509510 <d> dimension
510511
511- For source code, see http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg
512- For Documentation, see:
513- http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg_documentation
512+ `Source code <http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg>`_ |
513+ `Documentation <http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg_documentation>`_
514514
515515 Examples
516516 --------
0 commit comments