niwrap-mrtrix 0.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of niwrap-mrtrix might be problematic. Click here for more details.

Files changed (119) hide show
  1. niwrap_mrtrix/mrtrix/__init__.py +130 -0
  2. niwrap_mrtrix/mrtrix/afdconnectivity.py +445 -0
  3. niwrap_mrtrix/mrtrix/amp2response.py +453 -0
  4. niwrap_mrtrix/mrtrix/amp2sh.py +656 -0
  5. niwrap_mrtrix/mrtrix/connectome2tck.py +470 -0
  6. niwrap_mrtrix/mrtrix/connectomeedit.py +338 -0
  7. niwrap_mrtrix/mrtrix/connectomestats.py +767 -0
  8. niwrap_mrtrix/mrtrix/dcmedit.py +440 -0
  9. niwrap_mrtrix/mrtrix/dcminfo.py +416 -0
  10. niwrap_mrtrix/mrtrix/dirflip.py +362 -0
  11. niwrap_mrtrix/mrtrix/dirgen.py +423 -0
  12. niwrap_mrtrix/mrtrix/dirmerge.py +365 -0
  13. niwrap_mrtrix/mrtrix/dirorder.py +347 -0
  14. niwrap_mrtrix/mrtrix/dirsplit.py +358 -0
  15. niwrap_mrtrix/mrtrix/dirstat.py +530 -0
  16. niwrap_mrtrix/mrtrix/dwi2adc.py +428 -0
  17. niwrap_mrtrix/mrtrix/dwi2fod.py +879 -0
  18. niwrap_mrtrix/mrtrix/dwi2mask.py +463 -0
  19. niwrap_mrtrix/mrtrix/dwi2response.py +1295 -0
  20. niwrap_mrtrix/mrtrix/dwi2tensor.py +587 -0
  21. niwrap_mrtrix/mrtrix/dwibiascorrect.py +467 -0
  22. niwrap_mrtrix/mrtrix/dwidenoise.py +478 -0
  23. niwrap_mrtrix/mrtrix/dwiextract.py +825 -0
  24. niwrap_mrtrix/mrtrix/dwigradcheck.py +534 -0
  25. niwrap_mrtrix/mrtrix/fixel2peaks.py +452 -0
  26. niwrap_mrtrix/mrtrix/fixel2sh.py +357 -0
  27. niwrap_mrtrix/mrtrix/fixel2tsf.py +357 -0
  28. niwrap_mrtrix/mrtrix/fixel2voxel.py +437 -0
  29. niwrap_mrtrix/mrtrix/fixelcfestats.py +893 -0
  30. niwrap_mrtrix/mrtrix/fixelconnectivity.py +391 -0
  31. niwrap_mrtrix/mrtrix/fixelconvert.py +588 -0
  32. niwrap_mrtrix/mrtrix/fixelcorrespondence.py +371 -0
  33. niwrap_mrtrix/mrtrix/fixelcrop.py +348 -0
  34. niwrap_mrtrix/mrtrix/fixelfilter.py +616 -0
  35. niwrap_mrtrix/mrtrix/fixelreorient.py +361 -0
  36. niwrap_mrtrix/mrtrix/fod2dec.py +469 -0
  37. niwrap_mrtrix/mrtrix/fod2fixel.py +530 -0
  38. niwrap_mrtrix/mrtrix/label2colour.py +351 -0
  39. niwrap_mrtrix/mrtrix/label2mesh.py +343 -0
  40. niwrap_mrtrix/mrtrix/labelconvert.py +377 -0
  41. niwrap_mrtrix/mrtrix/labelstats.py +344 -0
  42. niwrap_mrtrix/mrtrix/maskdump.py +336 -0
  43. niwrap_mrtrix/mrtrix/maskfilter.py +537 -0
  44. niwrap_mrtrix/mrtrix/mesh2voxel.py +348 -0
  45. niwrap_mrtrix/mrtrix/meshconvert.py +410 -0
  46. niwrap_mrtrix/mrtrix/meshfilter.py +370 -0
  47. niwrap_mrtrix/mrtrix/mraverageheader.py +396 -0
  48. niwrap_mrtrix/mrtrix/mrcalc.py +3047 -0
  49. niwrap_mrtrix/mrtrix/mrcat.py +382 -0
  50. niwrap_mrtrix/mrtrix/mrcentroid.py +344 -0
  51. niwrap_mrtrix/mrtrix/mrcheckerboardmask.py +363 -0
  52. niwrap_mrtrix/mrtrix/mrclusterstats.py +736 -0
  53. niwrap_mrtrix/mrtrix/mrcolour.py +401 -0
  54. niwrap_mrtrix/mrtrix/mrconvert.py +1423 -0
  55. niwrap_mrtrix/mrtrix/mrdegibbs.py +443 -0
  56. niwrap_mrtrix/mrtrix/mrdump.py +351 -0
  57. niwrap_mrtrix/mrtrix/mredit.py +546 -0
  58. niwrap_mrtrix/mrtrix/mrfilter.py +716 -0
  59. niwrap_mrtrix/mrtrix/mrgrid.py +819 -0
  60. niwrap_mrtrix/mrtrix/mrhistmatch.py +403 -0
  61. niwrap_mrtrix/mrtrix/mrhistogram.py +393 -0
  62. niwrap_mrtrix/mrtrix/mrinfo.py +990 -0
  63. niwrap_mrtrix/mrtrix/mrmath.py +413 -0
  64. niwrap_mrtrix/mrtrix/mrmetric.py +425 -0
  65. niwrap_mrtrix/mrtrix/mrregister.py +1676 -0
  66. niwrap_mrtrix/mrtrix/mrstats.py +427 -0
  67. niwrap_mrtrix/mrtrix/mrthreshold.py +549 -0
  68. niwrap_mrtrix/mrtrix/mrtransform.py +1061 -0
  69. niwrap_mrtrix/mrtrix/mtnormalise.py +596 -0
  70. niwrap_mrtrix/mrtrix/peaks2amp.py +334 -0
  71. niwrap_mrtrix/mrtrix/peaks2fixel.py +349 -0
  72. niwrap_mrtrix/mrtrix/responsemean.py +316 -0
  73. niwrap_mrtrix/mrtrix/sh2amp.py +640 -0
  74. niwrap_mrtrix/mrtrix/sh2peaks.py +505 -0
  75. niwrap_mrtrix/mrtrix/sh2power.py +353 -0
  76. niwrap_mrtrix/mrtrix/sh2response.py +394 -0
  77. niwrap_mrtrix/mrtrix/shbasis.py +373 -0
  78. niwrap_mrtrix/mrtrix/shconv.py +498 -0
  79. niwrap_mrtrix/mrtrix/tck2connectome.py +580 -0
  80. niwrap_mrtrix/mrtrix/tck2fixel.py +363 -0
  81. niwrap_mrtrix/mrtrix/tckconvert.py +580 -0
  82. niwrap_mrtrix/mrtrix/tckdfc.py +551 -0
  83. niwrap_mrtrix/mrtrix/tckedit.py +1003 -0
  84. niwrap_mrtrix/mrtrix/tckgen.py +1983 -0
  85. niwrap_mrtrix/mrtrix/tckglobal.py +758 -0
  86. niwrap_mrtrix/mrtrix/tckinfo.py +329 -0
  87. niwrap_mrtrix/mrtrix/tckmap.py +772 -0
  88. niwrap_mrtrix/mrtrix/tckresample.py +580 -0
  89. niwrap_mrtrix/mrtrix/tcksample.py +404 -0
  90. niwrap_mrtrix/mrtrix/tcksift.py +592 -0
  91. niwrap_mrtrix/mrtrix/tcksift2.py +730 -0
  92. niwrap_mrtrix/mrtrix/tckstats.py +441 -0
  93. niwrap_mrtrix/mrtrix/tcktransform.py +340 -0
  94. niwrap_mrtrix/mrtrix/tensor2metric.py +544 -0
  95. niwrap_mrtrix/mrtrix/transformcalc.py +344 -0
  96. niwrap_mrtrix/mrtrix/transformcompose.py +465 -0
  97. niwrap_mrtrix/mrtrix/transformconvert.py +346 -0
  98. niwrap_mrtrix/mrtrix/tsfdivide.py +340 -0
  99. niwrap_mrtrix/mrtrix/tsfinfo.py +344 -0
  100. niwrap_mrtrix/mrtrix/tsfmult.py +340 -0
  101. niwrap_mrtrix/mrtrix/tsfsmooth.py +347 -0
  102. niwrap_mrtrix/mrtrix/tsfthreshold.py +349 -0
  103. niwrap_mrtrix/mrtrix/tsfvalidate.py +328 -0
  104. niwrap_mrtrix/mrtrix/v_5tt2gmwmi.py +359 -0
  105. niwrap_mrtrix/mrtrix/v_5tt2vis.py +412 -0
  106. niwrap_mrtrix/mrtrix/v_5ttcheck.py +337 -0
  107. niwrap_mrtrix/mrtrix/v_5ttedit.py +420 -0
  108. niwrap_mrtrix/mrtrix/v_5ttgen.py +816 -0
  109. niwrap_mrtrix/mrtrix/vectorstats.py +585 -0
  110. niwrap_mrtrix/mrtrix/voxel2fixel.py +350 -0
  111. niwrap_mrtrix/mrtrix/voxel2mesh.py +376 -0
  112. niwrap_mrtrix/mrtrix/warp2metric.py +449 -0
  113. niwrap_mrtrix/mrtrix/warpconvert.py +411 -0
  114. niwrap_mrtrix/mrtrix/warpcorrect.py +368 -0
  115. niwrap_mrtrix/mrtrix/warpinit.py +356 -0
  116. niwrap_mrtrix/mrtrix/warpinvert.py +370 -0
  117. niwrap_mrtrix-0.5.0.dist-info/METADATA +8 -0
  118. niwrap_mrtrix-0.5.0.dist-info/RECORD +119 -0
  119. niwrap_mrtrix-0.5.0.dist-info/WHEEL +4 -0
@@ -0,0 +1,449 @@
1
+ # This file was auto generated by Styx.
2
+ # Do not edit this file directly.
3
+
4
+ import typing
5
+ import pathlib
6
+ from styxdefs import *
7
+
8
+ WARP2METRIC_METADATA = Metadata(
9
+ id="7c25f1be081ec7621f562b1f88e03c6ae513109c.boutiques",
10
+ name="warp2metric",
11
+ package="mrtrix",
12
+ container_image_tag="mrtrix3/mrtrix3:3.0.4",
13
+ )
14
+
15
+
16
+ Warp2metricFcParameters = typing.TypedDict('Warp2metricFcParameters', {
17
+ "__STYX_TYPE__": typing.Literal["fc"],
18
+ "template_fixel_directory": InputPathType,
19
+ "output_fixel_directory": str,
20
+ "output_fixel_data": str,
21
+ })
22
+
23
+
24
+ Warp2metricConfigParameters = typing.TypedDict('Warp2metricConfigParameters', {
25
+ "__STYX_TYPE__": typing.Literal["config"],
26
+ "key": str,
27
+ "value": str,
28
+ })
29
+
30
+
31
+ Warp2metricParameters = typing.TypedDict('Warp2metricParameters', {
32
+ "__STYX_TYPE__": typing.Literal["warp2metric"],
33
+ "fc": typing.NotRequired[Warp2metricFcParameters | None],
34
+ "jmat": typing.NotRequired[str | None],
35
+ "jdet": typing.NotRequired[str | None],
36
+ "info": bool,
37
+ "quiet": bool,
38
+ "debug": bool,
39
+ "force": bool,
40
+ "nthreads": typing.NotRequired[int | None],
41
+ "config": typing.NotRequired[list[Warp2metricConfigParameters] | None],
42
+ "help": bool,
43
+ "version": bool,
44
+ "in": InputPathType,
45
+ })
46
+
47
+
48
+ def dyn_cargs(
49
+ t: str,
50
+ ) -> typing.Any:
51
+ """
52
+ Get build cargs function by command type.
53
+
54
+ Args:
55
+ t: Command type.
56
+ Returns:
57
+ Build cargs function.
58
+ """
59
+ return {
60
+ "warp2metric": warp2metric_cargs,
61
+ "fc": warp2metric_fc_cargs,
62
+ "config": warp2metric_config_cargs,
63
+ }.get(t)
64
+
65
+
66
+ def dyn_outputs(
67
+ t: str,
68
+ ) -> typing.Any:
69
+ """
70
+ Get build outputs function by command type.
71
+
72
+ Args:
73
+ t: Command type.
74
+ Returns:
75
+ Build outputs function.
76
+ """
77
+ return {
78
+ "warp2metric": warp2metric_outputs,
79
+ }.get(t)
80
+
81
+
82
+ def warp2metric_fc_params(
83
+ template_fixel_directory: InputPathType,
84
+ output_fixel_directory: str,
85
+ output_fixel_data: str,
86
+ ) -> Warp2metricFcParameters:
87
+ """
88
+ Build parameters.
89
+
90
+ Args:
91
+ template_fixel_directory: use an input template fixel image to define\
92
+ fibre orientations and output a fixel image describing the change in\
93
+ fibre cross-section (FC) in the perpendicular plane to the fixel\
94
+ orientation. e.g. warp2metric warp.mif -fc fixel_template_directory\
95
+ output_fixel_directory fc.mif.
96
+ output_fixel_directory: use an input template fixel image to define\
97
+ fibre orientations and output a fixel image describing the change in\
98
+ fibre cross-section (FC) in the perpendicular plane to the fixel\
99
+ orientation. e.g. warp2metric warp.mif -fc fixel_template_directory\
100
+ output_fixel_directory fc.mif.
101
+ output_fixel_data: use an input template fixel image to define fibre\
102
+ orientations and output a fixel image describing the change in fibre\
103
+ cross-section (FC) in the perpendicular plane to the fixel orientation.\
104
+ e.g. warp2metric warp.mif -fc fixel_template_directory\
105
+ output_fixel_directory fc.mif.
106
+ Returns:
107
+ Parameter dictionary
108
+ """
109
+ params = {
110
+ "__STYXTYPE__": "fc",
111
+ "template_fixel_directory": template_fixel_directory,
112
+ "output_fixel_directory": output_fixel_directory,
113
+ "output_fixel_data": output_fixel_data,
114
+ }
115
+ return params
116
+
117
+
118
+ def warp2metric_fc_cargs(
119
+ params: Warp2metricFcParameters,
120
+ execution: Execution,
121
+ ) -> list[str]:
122
+ """
123
+ Build command-line arguments from parameters.
124
+
125
+ Args:
126
+ params: The parameters.
127
+ execution: The execution object for resolving input paths.
128
+ Returns:
129
+ Command-line arguments.
130
+ """
131
+ cargs = []
132
+ cargs.append("-fc")
133
+ cargs.append(execution.input_file(params.get("template_fixel_directory")))
134
+ cargs.append(params.get("output_fixel_directory"))
135
+ cargs.append(params.get("output_fixel_data"))
136
+ return cargs
137
+
138
+
139
+ def warp2metric_config_params(
140
+ key: str,
141
+ value: str,
142
+ ) -> Warp2metricConfigParameters:
143
+ """
144
+ Build parameters.
145
+
146
+ Args:
147
+ key: temporarily set the value of an MRtrix config file entry.
148
+ value: temporarily set the value of an MRtrix config file entry.
149
+ Returns:
150
+ Parameter dictionary
151
+ """
152
+ params = {
153
+ "__STYXTYPE__": "config",
154
+ "key": key,
155
+ "value": value,
156
+ }
157
+ return params
158
+
159
+
160
+ def warp2metric_config_cargs(
161
+ params: Warp2metricConfigParameters,
162
+ execution: Execution,
163
+ ) -> list[str]:
164
+ """
165
+ Build command-line arguments from parameters.
166
+
167
+ Args:
168
+ params: The parameters.
169
+ execution: The execution object for resolving input paths.
170
+ Returns:
171
+ Command-line arguments.
172
+ """
173
+ cargs = []
174
+ cargs.append("-config")
175
+ cargs.append(params.get("key"))
176
+ cargs.append(params.get("value"))
177
+ return cargs
178
+
179
+
180
+ class Warp2metricOutputs(typing.NamedTuple):
181
+ """
182
+ Output object returned when calling `warp2metric(...)`.
183
+ """
184
+ root: OutputPathType
185
+ """Output root folder. This is the root folder for all outputs."""
186
+ jmat: OutputPathType | None
187
+ """output a Jacobian matrix image stored in column-major order along the 4th
188
+ dimension.Note the output jacobian describes the warp gradient w.r.t the
189
+ scanner space coordinate system """
190
+ jdet: OutputPathType | None
191
+ """output the Jacobian determinant instead of the full matrix """
192
+
193
+
194
+ def warp2metric_params(
195
+ in_: InputPathType,
196
+ fc: Warp2metricFcParameters | None = None,
197
+ jmat: str | None = None,
198
+ jdet: str | None = None,
199
+ info: bool = False,
200
+ quiet: bool = False,
201
+ debug: bool = False,
202
+ force: bool = False,
203
+ nthreads: int | None = None,
204
+ config: list[Warp2metricConfigParameters] | None = None,
205
+ help_: bool = False,
206
+ version: bool = False,
207
+ ) -> Warp2metricParameters:
208
+ """
209
+ Build parameters.
210
+
211
+ Args:
212
+ in_: the input deformation field.
213
+ fc: use an input template fixel image to define fibre orientations and\
214
+ output a fixel image describing the change in fibre cross-section (FC)\
215
+ in the perpendicular plane to the fixel orientation. e.g. warp2metric\
216
+ warp.mif -fc fixel_template_directory output_fixel_directory fc.mif.
217
+ jmat: output a Jacobian matrix image stored in column-major order along\
218
+ the 4th dimension.Note the output jacobian describes the warp gradient\
219
+ w.r.t the scanner space coordinate system.
220
+ jdet: output the Jacobian determinant instead of the full matrix.
221
+ info: display information messages.
222
+ quiet: do not display information messages or progress status;\
223
+ alternatively, this can be achieved by setting the MRTRIX_QUIET\
224
+ environment variable to a non-empty string.
225
+ debug: display debugging messages.
226
+ force: force overwrite of output files (caution: using the same file as\
227
+ input and output might cause unexpected behaviour).
228
+ nthreads: use this number of threads in multi-threaded applications\
229
+ (set to 0 to disable multi-threading).
230
+ config: temporarily set the value of an MRtrix config file entry.
231
+ help_: display this information page and exit.
232
+ version: display version information and exit.
233
+ Returns:
234
+ Parameter dictionary
235
+ """
236
+ params = {
237
+ "__STYXTYPE__": "warp2metric",
238
+ "info": info,
239
+ "quiet": quiet,
240
+ "debug": debug,
241
+ "force": force,
242
+ "help": help_,
243
+ "version": version,
244
+ "in": in_,
245
+ }
246
+ if fc is not None:
247
+ params["fc"] = fc
248
+ if jmat is not None:
249
+ params["jmat"] = jmat
250
+ if jdet is not None:
251
+ params["jdet"] = jdet
252
+ if nthreads is not None:
253
+ params["nthreads"] = nthreads
254
+ if config is not None:
255
+ params["config"] = config
256
+ return params
257
+
258
+
259
+ def warp2metric_cargs(
260
+ params: Warp2metricParameters,
261
+ execution: Execution,
262
+ ) -> list[str]:
263
+ """
264
+ Build command-line arguments from parameters.
265
+
266
+ Args:
267
+ params: The parameters.
268
+ execution: The execution object for resolving input paths.
269
+ Returns:
270
+ Command-line arguments.
271
+ """
272
+ cargs = []
273
+ cargs.append("warp2metric")
274
+ if params.get("fc") is not None:
275
+ cargs.extend(dyn_cargs(params.get("fc")["__STYXTYPE__"])(params.get("fc"), execution))
276
+ if params.get("jmat") is not None:
277
+ cargs.extend([
278
+ "-jmat",
279
+ params.get("jmat")
280
+ ])
281
+ if params.get("jdet") is not None:
282
+ cargs.extend([
283
+ "-jdet",
284
+ params.get("jdet")
285
+ ])
286
+ if params.get("info"):
287
+ cargs.append("-info")
288
+ if params.get("quiet"):
289
+ cargs.append("-quiet")
290
+ if params.get("debug"):
291
+ cargs.append("-debug")
292
+ if params.get("force"):
293
+ cargs.append("-force")
294
+ if params.get("nthreads") is not None:
295
+ cargs.extend([
296
+ "-nthreads",
297
+ str(params.get("nthreads"))
298
+ ])
299
+ if params.get("config") is not None:
300
+ cargs.extend([a for c in [dyn_cargs(s["__STYXTYPE__"])(s, execution) for s in params.get("config")] for a in c])
301
+ if params.get("help"):
302
+ cargs.append("-help")
303
+ if params.get("version"):
304
+ cargs.append("-version")
305
+ cargs.append(execution.input_file(params.get("in")))
306
+ return cargs
307
+
308
+
309
+ def warp2metric_outputs(
310
+ params: Warp2metricParameters,
311
+ execution: Execution,
312
+ ) -> Warp2metricOutputs:
313
+ """
314
+ Build outputs object containing output file paths and possibly stdout/stderr.
315
+
316
+ Args:
317
+ params: The parameters.
318
+ execution: The execution object for resolving input paths.
319
+ Returns:
320
+ Outputs object.
321
+ """
322
+ ret = Warp2metricOutputs(
323
+ root=execution.output_file("."),
324
+ jmat=execution.output_file(params.get("jmat")) if (params.get("jmat") is not None) else None,
325
+ jdet=execution.output_file(params.get("jdet")) if (params.get("jdet") is not None) else None,
326
+ )
327
+ return ret
328
+
329
+
330
+ def warp2metric_execute(
331
+ params: Warp2metricParameters,
332
+ execution: Execution,
333
+ ) -> Warp2metricOutputs:
334
+ """
335
+ Compute fixel-wise or voxel-wise metrics from a 4D deformation field.
336
+
337
+
338
+
339
+ References:
340
+
341
+ Raffelt, D.; Tournier, JD/; Smith, RE.; Vaughan, DN.; Jackson, G.; Ridgway,
342
+ GR. Connelly, A.Investigating White Matter Fibre Density and Morphology
343
+ using Fixel-Based Analysis. Neuroimage, 2017, 144, 58-73, doi:
344
+ 10.1016/j.neuroimage.2016.09.029.
345
+
346
+ Author: MRTrix3 Developers
347
+
348
+ URL: https://www.mrtrix.org/
349
+
350
+ Args:
351
+ params: The parameters.
352
+ execution: The execution object.
353
+ Returns:
354
+ NamedTuple of outputs (described in `Warp2metricOutputs`).
355
+ """
356
+ params = execution.params(params)
357
+ cargs = warp2metric_cargs(params, execution)
358
+ ret = warp2metric_outputs(params, execution)
359
+ execution.run(cargs)
360
+ return ret
361
+
362
+
363
+ def warp2metric(
364
+ in_: InputPathType,
365
+ fc: Warp2metricFcParameters | None = None,
366
+ jmat: str | None = None,
367
+ jdet: str | None = None,
368
+ info: bool = False,
369
+ quiet: bool = False,
370
+ debug: bool = False,
371
+ force: bool = False,
372
+ nthreads: int | None = None,
373
+ config: list[Warp2metricConfigParameters] | None = None,
374
+ help_: bool = False,
375
+ version: bool = False,
376
+ runner: Runner | None = None,
377
+ ) -> Warp2metricOutputs:
378
+ """
379
+ Compute fixel-wise or voxel-wise metrics from a 4D deformation field.
380
+
381
+
382
+
383
+ References:
384
+
385
+ Raffelt, D.; Tournier, JD/; Smith, RE.; Vaughan, DN.; Jackson, G.; Ridgway,
386
+ GR. Connelly, A.Investigating White Matter Fibre Density and Morphology
387
+ using Fixel-Based Analysis. Neuroimage, 2017, 144, 58-73, doi:
388
+ 10.1016/j.neuroimage.2016.09.029.
389
+
390
+ Author: MRTrix3 Developers
391
+
392
+ URL: https://www.mrtrix.org/
393
+
394
+ Args:
395
+ in_: the input deformation field.
396
+ fc: use an input template fixel image to define fibre orientations and\
397
+ output a fixel image describing the change in fibre cross-section (FC)\
398
+ in the perpendicular plane to the fixel orientation. e.g. warp2metric\
399
+ warp.mif -fc fixel_template_directory output_fixel_directory fc.mif.
400
+ jmat: output a Jacobian matrix image stored in column-major order along\
401
+ the 4th dimension.Note the output jacobian describes the warp gradient\
402
+ w.r.t the scanner space coordinate system.
403
+ jdet: output the Jacobian determinant instead of the full matrix.
404
+ info: display information messages.
405
+ quiet: do not display information messages or progress status;\
406
+ alternatively, this can be achieved by setting the MRTRIX_QUIET\
407
+ environment variable to a non-empty string.
408
+ debug: display debugging messages.
409
+ force: force overwrite of output files (caution: using the same file as\
410
+ input and output might cause unexpected behaviour).
411
+ nthreads: use this number of threads in multi-threaded applications\
412
+ (set to 0 to disable multi-threading).
413
+ config: temporarily set the value of an MRtrix config file entry.
414
+ help_: display this information page and exit.
415
+ version: display version information and exit.
416
+ runner: Command runner.
417
+ Returns:
418
+ NamedTuple of outputs (described in `Warp2metricOutputs`).
419
+ """
420
+ runner = runner or get_global_runner()
421
+ execution = runner.start_execution(WARP2METRIC_METADATA)
422
+ params = warp2metric_params(
423
+ fc=fc,
424
+ jmat=jmat,
425
+ jdet=jdet,
426
+ info=info,
427
+ quiet=quiet,
428
+ debug=debug,
429
+ force=force,
430
+ nthreads=nthreads,
431
+ config=config,
432
+ help_=help_,
433
+ version=version,
434
+ in_=in_,
435
+ )
436
+ return warp2metric_execute(params, execution)
437
+
438
+
439
+ __all__ = [
440
+ "WARP2METRIC_METADATA",
441
+ "Warp2metricConfigParameters",
442
+ "Warp2metricFcParameters",
443
+ "Warp2metricOutputs",
444
+ "Warp2metricParameters",
445
+ "warp2metric",
446
+ "warp2metric_config_params",
447
+ "warp2metric_fc_params",
448
+ "warp2metric_params",
449
+ ]