File: config_file_options.rst

package info (click to toggle)
mrtrix3 3.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,300 kB
  • sloc: cpp: 130,470; python: 9,603; sh: 597; makefile: 62; xml: 47
file content (684 lines) | stat: -rw-r--r-- 18,263 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
.. _config_file_options:

##########################################
List of MRtrix3 configuration file options
##########################################

.. option:: AmbientIntensity

    *default: 0.5*

     The default intensity for the ambient light in OpenGL renders.

.. option:: AnalyseLeftToRight

    *default: 0 (false)*

     A boolean value to indicate whether images in Analyse format
     should be assumed to be in LAS orientation (default) or RAS
     (when this is option is turned on).

.. option:: BValueEpsilon

    *default: 80.0*

     Specifies the difference between b-values necessary for image
     volumes to be classified as belonging to different shells.

.. option:: BZeroThreshold

    *default: 10.0*

     Specifies the b-value threshold for determining those image
     volumes that correspond to b=0.

.. option:: BackgroundColor

    *default: 1.0,1.0,1.0*

     The default colour to use for the background in OpenGL panels, notably
     the SH viewer.

.. option:: ConnectomeEdgeAssociatedAlphaMultiplier

    *default: 1.0*

     The multiplicative factor to apply to the transparency of edges connected to one selected node.

.. option:: ConnectomeEdgeAssociatedColour

    *default: 0.0,0.0,0.0*

     The colour mixed in to edges connected to one currently selected node.

.. option:: ConnectomeEdgeAssociatedColourFade

    *default: 0.5*

     The fraction of the colour of an edge connected to one selected node determined by the fixed colour.

.. option:: ConnectomeEdgeAssociatedSizeMultiplier

    *default: 1.0*

     The multiplicative factor to apply to the size of edges connected to one selected node.

.. option:: ConnectomeEdgeOtherAlphaMultiplier

    *default: 1.0*

     The multiplicative factor to apply to the transparency of edges not connected to any selected node.

.. option:: ConnectomeEdgeOtherColour

    *default: 0.0,0.0,0.0*

     The colour mixed in to edges not connected to any currently selected node.

.. option:: ConnectomeEdgeOtherColourFade

    *default: 0.75*

     The fraction of the colour of an edge not connected to any selected node determined by the fixed colour.

.. option:: ConnectomeEdgeOtherSizeMultiplier

    *default: 1.0*

     The multiplicative factor to apply to the size of edges not connected to any selected node.

.. option:: ConnectomeEdgeOtherVisibilityOverride

    *default: true*

     Whether or not to force invisibility of edges not connected to any selected node.

.. option:: ConnectomeEdgeSelectedAlphaMultiplier

    *default: 1.0*

     The multiplicative factor to apply to the transparency of edges connected to two selected nodes.

.. option:: ConnectomeEdgeSelectedColour

    *default: 0.9,0.9,1.0*

     The colour used to highlight the edges connected to two currently selected nodes.

.. option:: ConnectomeEdgeSelectedColourFade

    *default: 0.5*

     The fraction of the colour of an edge connected to two selected nodes determined by the fixed selection highlight colour.

.. option:: ConnectomeEdgeSelectedSizeMultiplier

    *default: 1.0*

     The multiplicative factor to apply to the size of edges connected to two selected nodes.

.. option:: ConnectomeEdgeSelectedVisibilityOverride

    *default: false*

     Whether or not to force visibility of edges connected to two selected nodes.

.. option:: ConnectomeNodeAssociatedAlphaMultiplier

    *default: 1.0*

     The multiplicative factor to apply to the transparency of nodes associated with a selected node.

.. option:: ConnectomeNodeAssociatedColour

    *default: 0.0,0.0,0.0*

     The colour mixed in to those nodes associated with any selected node.

.. option:: ConnectomeNodeAssociatedColourFade

    *default: 0.5*

     The fraction of the colour of an associated node determined by the fixed associated highlight colour.

.. option:: ConnectomeNodeAssociatedSizeMultiplier

    *default: 1.0*

     The multiplicative factor to apply to the size of nodes associated with a selected node.

.. option:: ConnectomeNodeOtherAlphaMultiplier

    *default: 1.0*

     The multiplicative factor to apply to the transparency of nodes not currently selected nor associated with a selected node.

.. option:: ConnectomeNodeOtherColour

    *default: 0.0,0.0,0.0*

     The colour mixed in to those nodes currently not selected nor associated with any selected node.

.. option:: ConnectomeNodeOtherColourFade

    *default: 0.75*

     The fraction of the colour of an unselected, non-associated node determined by the fixed not-selected highlight colour.

.. option:: ConnectomeNodeOtherSizeMultiplier

    *default: 1.0*

     The multiplicative factor to apply to the size of nodes not currently selected nor associated with a selected node.

.. option:: ConnectomeNodeOtherVisibilityOverride

    *default: false*

     Whether or not nodes are forced to be invisible when not selected or associated with any selected node.

.. option:: ConnectomeNodeSelectedAlphaMultiplier

    *default: 1.0*

     The multiplicative factor to apply to the transparency of selected nodes.

.. option:: ConnectomeNodeSelectedColour

    *default: 1.0,1.0,1.0*

     The colour used to highlight those nodes currently selected.

.. option:: ConnectomeNodeSelectedColourFade

    *default: 0.75*

     The fraction of the colour of a selected node determined by the fixed selection highlight colour.

.. option:: ConnectomeNodeSelectedSizeMultiplier

    *default: 1.0*

     The multiplicative factor to apply to the size of selected nodes.

.. option:: ConnectomeNodeSelectedVisibilityOverride

    *default: true*

     Whether or not nodes are forced to be visible when selected.

.. option:: DiffuseIntensity

    *default: 0.5*

     The default intensity for the diffuse light in OpenGL renders.

.. option:: FailOnWarn

    *default: 0 (false)*

     A boolean value specifying whether MRtrix applications should
     abort as soon as any (otherwise non-fatal) warning is issued.

.. option:: FontSize

    *default: 10*

     The size (in points) of the font to be used in OpenGL viewports (mrview and shview).

.. option:: HelpCommand

    *default: less*

     The command to use to display each command's help page (leave
     empty to send directly to the terminal).

.. option:: IconSize

    *default: 30*

     The size of the icons in the main MRView toolbar.

.. option:: ImageInterpolation

    *default: true*

     Define default interplation setting for image and image overlay.

.. option:: InitialToolBarPosition

    *default: top*

     The starting position of the MRView toolbar. Valid values are:
     top, bottom, left, right.

.. option:: LightPosition

    *default: 1.0,1.0,3.0*

     The default position vector to use for the light in OpenGL
     renders.

.. option:: MRViewColourBarHeight

    *default: 100*

     The height of the colourbar in MRView, in pixels.

.. option:: MRViewColourBarHorizontalPadding

    *default: 100*

     The width in pixels between horizontally adjacent colour bars.

.. option:: MRViewColourBarInset

    *default: 20*

     How far away from the edge of the main window to place the
     colourbar in MRView, in pixels.

.. option:: MRViewColourBarPosition

    *default: bottomright*

     The position of the colourbar within the main window in MRView.
     Valid values are: bottomleft, bottomright, topleft, topright.

.. option:: MRViewColourBarTextOffset

    *default: 10*

     How far away from the colourbar to place the associated text,
     in pixels.

.. option:: MRViewColourBarWidth

    *default: 20*

     The width of the colourbar in MRView, in pixels.

.. option:: MRViewDefaultTractGeomType

    *default: Pseudotubes*

     The default geometry type used to render tractograms.
     Options are Pseudotubes, Lines or Points

.. option:: MRViewDockFloating

    *default: 0 (false)*

     Whether MRView tools should start docked in the main window, or
     floating (detached from the main window).

.. option:: MRViewFocusModifierKey

    *default: meta (cmd on MacOSX)*

     Modifier key to select focus mode in MRView. Valid
     choices include shift, alt, ctrl, meta (on MacOSX: shift, alt,
     ctrl, cmd).

.. option:: MRViewImageBackgroundColour

    *default: 0,0,0 (black)*

     The default image background colour in the main MRView window.

.. option:: MRViewInitWindowSize

    *default: 512,512*

     Initial window size of MRView in pixels.

.. option:: MRViewMaxNumColourBarRows

    *default: 3*

     The maximal number of rows used to layout a collection of rendered colourbars
     Note, that all tool-specific colourbars will form a single collection.

.. option:: MRViewMoveModifierKey

    *default: shift*

     Modifier key to select move mode in MRView. Valid
     choices include shift, alt, ctrl, meta (on MacOSX: shift, alt,
     ctrl, cmd).

.. option:: MRViewOdfScale

    *default: 1.0*

     The factor by which the ODF overlay is scaled.

.. option:: MRViewOrthoAsRow

    *default: false*

     Display the 3 orthogonal views of the Ortho mode in a row,
     rather than as a 2x2 montage

.. option:: MRViewRoiAlpha

    *default: 0.5*

     The default alpha of a ROI overlay.

.. option:: MRViewRotateModifierKey

    *default: ctrl*

     Modifier key to select rotate mode in MRView. Valid
     choices include shift, alt, ctrl, meta (on MacOSX: shift, alt,
     ctrl, cmd).

.. option:: MRViewShowColourbar

    *default: true*

     Colourbar shown in main image overlay.

.. option:: MRViewShowComments

    *default: true*

     Comments shown in main image overlay.

.. option:: MRViewShowFocus

    *default: true*

     Focus cross hair shown in main image.

.. option:: MRViewShowOrientationLabel

    *default: true*

     Anatomical orientation information shown in main image overlay.

.. option:: MRViewShowVoxelInformation

    *default: true*

     Voxel information shown in main image overlay.

.. option:: MRViewSyncFocus

    *default: false*

     Whether to sync the focus in mrview between other mrview processes.

.. option:: MRViewToolFontSize

    *default: 2 points less than the standard system font*

     The point size for the font to use in MRView tools.

.. option:: MRViewToolsColourBarPosition

    *default: topright*

     The position of all visible tool colourbars within the main window in MRView.
     Valid values are: bottomleft, bottomright, topleft, topright.

.. option:: MRViewWrapVolumes

    *default: false*

     Wrap volumes around when cycling through

.. option:: MSAA

    *default: 0 (false)*

     How many samples to use for multi-sample anti-aliasing (to
     improve display quality).

.. option:: NIfTIAllowBitwise

    *default: 0 (false)*

     A boolean value to indicate whether bitwise storage of binary
     data is permitted (most 3rd party software packages don't
     support bitwise data). If false (the default), data will be
     stored using more widely supported unsigned 8-bit integers.

.. option:: NIfTIAlwaysUseVer2

    *default: 0 (false)*

     A boolean value to indicate whether NIfTI images should
     always be written in the new NIfTI-2 format. If false,
     images will be written in the older NIfTI-1 format by
     default, with the exception being files where the number
     of voxels along any axis exceeds the maximum permissible
     in that format (32767), in which case the output file
     will automatically switch to the NIfTI-2 format.

.. option:: NIfTIAutoLoadJSON

    *default: 0 (false)*

     A boolean value to indicate whether, when opening NIfTI images,
     any corresponding JSON file should be automatically loaded.

.. option:: NIfTIAutoSaveJSON

    *default: 0 (false)*

     A boolean value to indicate whether, when writing NIfTI images,
     a corresponding JSON file should be automatically created in order
     to save any header entries that cannot be stored in the NIfTI
     header.

.. option:: NIfTIUseSform

    *default: 1 (true)*

     A boolean value to control whether, in cases where both
     the sform and qform transformations are defined in an
     input NIfTI image, but those transformations differ, the
     sform transformation should be used in preference to the
     qform matrix. The default is to use the sform matrix;
     set to 0 / false to override and instead use the qform.

.. option:: NeedOpenGLCoreProfile

    *default: 1 (true)*

     Whether the creation of an OpenGL 3.3 context requires it to be
     a core profile (needed on newer versions of the ATI drivers on
     Linux, for instance).

.. option:: NumberOfThreads

    *default: number of threads provided by hardware*

     Set the default number of CPU threads to use for multi-threading.

.. option:: NumberOfUndos

    *default: 16*

     The number of undo operations permitted in the MRView ROI editor tool.

.. option:: ObjectColor

    *default: 1,1,0 (yellow)*

     The default colour to use for objects (i.e. SH glyphs) when not
     colouring by direction.

.. option:: RealignTransform

    *default: 1 (true)*

     A boolean value to indicate whether all images should be realigned
     to an approximately axial orientation at load.

.. option:: RegAnalyseDescent

    *default: 0 (false)*

     Linear registration: write comma separated gradient descent parameters and gradients
     to stdout and verbose gradient descent output to stderr.

.. option:: RegCoherenceLen

    *default: 3.0*

     Linear registration: estimated spatial coherence length in voxels.

.. option:: RegGdConvergenceDataSmooth

    *default: 0.8*

     Linear registration: control point trajectory smoothing value used in convergence check
     parameter range: [0...1].

.. option:: RegGdConvergenceMinIter

    *default: 10*

     Linear registration: minimum number of iterations until convergence check is activated.

.. option:: RegGdConvergenceSlopeSmooth

    *default: 0.1*

     Linear registration: control point trajectory slope smoothing value used in convergence check
     parameter range: [0...1].

.. option:: RegGdConvergenceThresh

    *default: 5e-3*

     Linear registration: threshold for convergence check using the smoothed control point trajectories
     measured in fraction of a voxel.

.. option:: RegGdWeightMatrix

    *default: 0.0003*

     Linear registration: weight for optimisation of linear (3x3) matrix parameters.

.. option:: RegGdWeightTranslation

    *default: 1*

     Linear registration: weight for optimisation of translation parameters.

.. option:: RegStopLen

    *default: 0.0001*

     Linear registration: smallest gradient descent step measured in fraction of a voxel at which to stop registration.

.. option:: ScriptScratchDir

    *default: `.`*

     The location in which to generate the scratch directories to be
     used by MRtrix Python scripts. By default they will be generated
     in the working directory.
     Note that this setting does not influence the location in which
     piped images and other temporary files are created by MRtrix3;
     that is determined based on config file option :option:`TmpFileDir`.

.. option:: ScriptScratchPrefix

    *default: `<script>-tmp-`*

     The prefix to use when generating a unique name for a Python
     script scratch directory. By default the name of the invoked
     script itself will be used, followed by `-tmp-` (six random
     characters are then appended to produce a unique name in cases
     where a script may be run multiple times in parallel).

.. option:: SparseDataInitialSize

    *default: 16777216*

     Initial buffer size for data in MRtrix sparse image format file (in bytes).

.. option:: SpecularExponent

    *default: 5.0*

     The default exponent for the specular light in OpenGL renders.

.. option:: SpecularIntensity

    *default: 0.5*

     The default intensity for the specular light in OpenGL renders.

.. option:: TckgenEarlyExit

    *default: 0 (false)*

     Specifies whether tckgen should be terminated prematurely
     in cases where it appears as though the target number of
     accepted streamlines is not going to be met.

.. option:: TerminalColor

    *default: 1 (true)*

     A boolean value to indicate whether colours should be used in the terminal.

.. option:: TmpFileDir

    *default: `/tmp` (on Unix), `.` (on Windows)*

     The prefix for temporary files (as used in pipelines). By default,
     these files get written to the current folder on Windows machines,
     which may cause performance issues, particularly when operating
     over distributed file systems. On Unix machines, the default is
     /tmp/, which is typically a RAM file system and should therefore
     be fast; but may cause issues on machines with little RAM
     capacity or where write-access to this location is not permitted.
     
     Note that this location can also be manipulated using the
     :envvar:`MRTRIX_TMPFILE_DIR` environment variable, without editing the
     config file. Note also that this setting does not influence the
     location in which Python scripts construct their scratch
     directories; that is determined based on config file option
     ScriptScratchDir.

.. option:: TmpFilePrefix

    *default: `mrtrix-tmp-`*

     The prefix to use for the basename of temporary files. This will
     be used to generate a unique filename for the temporary file, by
     adding random characters to this prefix, followed by a suitable
     suffix (depending on file type). Note that this prefix can also be
     manipulated using the `MRTRIX_TMPFILE_PREFIX` environment
     variable, without editing the config file.

.. option:: ToolbarStyle

    *default: 2*

     The style of the main toolbar buttons in MRView. See Qt's
     documentation for Qt::ToolButtonStyle.

.. option:: TrackWriterBufferSize

    *default: 16777216*

     The size of the write-back buffer (in bytes) to use when
     writing track files. MRtrix will store the output tracks in a
     relatively large buffer to limit the number of write() calls,
     avoid associated issues such as file fragmentation.

.. option:: VSync

    *default: 0 (false)*

     Whether the screen update should synchronise with the monitor's
     vertical refresh (to avoid tearing artefacts).