You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dictionary `"Model["Parameters"]"` has the following reserved keywords that may be applicable to a broad range of models:
281
251
282
-
{{ MACROS___make_metadata_table(
283
-
{ "fit_method": {
284
-
"LongName": "FitMethod",
285
-
"Description": (
286
-
"OPTIONAL",
287
-
"String. The optimization procedure used to fit the intrinsic model parameters to the empirical diffusion-weighted signal.",
288
-
),
289
-
"Levels":
290
-
{"ols": "Ordinary Least Squares",
291
-
"wls": "Weighted Least Squares",
292
-
"iwls": "Iterative Weighted Least Squares",
293
-
"nlls": "Non-Linear Least Squares"
294
-
}
295
-
},
296
-
"iterations": {
297
-
"LongName": "Iterations",
298
-
"Description": (
299
-
"OPTIONAL",
300
-
"Integer. The number of iterations used for any form of model fitting procedure where the number of iterations is a fixed input parameter.",
301
-
)
302
-
},
303
-
"outlier_rejection_method": {
304
-
"LongName": "OutlierRejectionMethod",
305
-
"Description": ("OPTIONAL",
306
-
"String. Text describing any form of rejection of outlier values that was performed during fitting of the model.",
307
-
)
308
-
},
309
-
"samples": {
310
-
"LongName": "Samples",
311
-
"Description":
312
-
(
313
-
"OPTIONAL",
314
-
"Integer. The number of realizations of a diffusion model from which statistical summaries (such as mean, standard deviation) of those parameters were computed.",
315
-
)
316
-
},
317
-
"diso": {
318
-
"LongName": "IsotropicDiffusivity",
319
-
"Description":
320
-
(
321
-
"OPTIONAL",
322
-
"Float. Diffusivity of an isotropic component (in units of mm^2/s)",
323
-
)
324
-
},
325
-
"dpar": {
326
-
"LongName": "ParallelDiffusivity",
327
-
"Description":
328
-
(
329
-
"OPTIONAL",
330
-
"Float. Diffusivity of a axial/parallel component (in units of mm^2/s)",
@@ -347,6 +264,16 @@ Some fields are relevant only to specific [orientation encoding types](#orientat
347
264
- Where a field is *not* relevant for the corresponding image,
348
265
that metadata field MUST NOT be specified.
349
266
267
+
{{ MACROS___make_metadata_table(
268
+
{
269
+
"BootstrapAxis": ("OPTIONAL", "Applicable to any orientation encoding type"),
270
+
"Description": ("OPTIONAL", "Applicable to any orientation encoding type"),
271
+
"NonNegativity": ("OPTIONAL", "Applicable to all orientation encoding types except [spherical coordinates](#encoding-spherical) and [3-vectors](#encoding-3vector)"),
272
+
"OrientationEncoding": ("REQUIRED", "Applicable to any orientation encoding type"),
273
+
"ParameterURL": ("OPTIONAL", "Applicable to any orientation encoding type"),
274
+
"ResponseFunction": ("OPTIONAL", "Applicable to [spherical harmonics](#encoding-sh)"),
| AmplitudesDirections |[Amplitudes](#encoding-amp)| REQUIRED for `"Type": "amplitudes"`; MUST NOT be specified otherwise. List of lists of floats. Data are either [spherical coordinates (directions only)](#encoding-spherical) or [3-vectors](#encoding-3vector) with unit norm. Defines the dense directional basis set on which samples of a spherical function within each voxel are provided. The length of the list must be equal to the number of volumes in the image. |
@@ -373,54 +302,20 @@ Dictionary `"OrientationEncoding"` has the following reserved keywords:
373
302
374
303
Field `"OrientationEncoding"["Reference"]` MUST contain one of the following values:
375
304
376
-
{{ MACROS___make_metadata_table(
377
-
{
378
-
"bvec": {
379
-
"LongName": "bvec",
380
-
"Description": (
381
-
"The three spatial image axes; **unless** those axes form a right-handed coordinate system (that is, the 3x3 linear component of the NIfTI header transformation has a positive determinant), in which case the negative of the first axis orientation is the first reference.",
382
-
)
383
-
},
384
-
"ijk": {
385
-
"LongName": "ijk",
386
-
"Description": (
387
-
"The three spatial image axes define the orientation.",
388
-
)
389
-
},
390
-
"xyz": {
391
-
"LongName": "ijk",
392
-
"Description": (
393
-
"The 'real' / 'scanner' space axes, which are independent of the NIfTI image header transform, define the orientation reference.",
| bvec | bvec | The three spatial image axes; **unless** those axes form a right-handed coordinate system (that is, the 3x3 linear component of the NIfTI header transformation has a positive determinant), in which case the negative of the first axis orientation is the first reference. |
308
+
| ijk | ijk | The three spatial image axes define the orientation. |
309
+
| xyz | xyz | The 'real' / 'scanner' space axes, which are independent of the NIfTI image header transform, define the orientation reference. |
398
310
399
311
Dictionary `"ResponseFunction"` has the following reserved keywords:
400
312
401
-
{{ MACROS___make_metadata_table(
402
-
{
403
-
"coefficients": {
404
-
"LongName": "Coefficients",
405
-
"Description": (
406
-
"REQUIRED",
407
-
"Either a list of floats, or a list of lists of floats, depending on the mathematical form of the response function and possibly the data to which it applies; see further below.",
408
-
)
409
-
},
410
-
"type": {
411
-
"LongName": "Type",
412
-
"Description": (
413
-
"REQUIRED",
414
-
"String. The mathematical form in which the response function coefficients are provided; see further below. ",
415
-
),
416
-
"Levels": {
417
-
"eigen": "list of 4 floating-point values must be specified; these are interpreted as three ordered eigenvalues of a rank 2 tensor, followed by a reference *b*=0 intensity.",
418
-
"zsh": "Either of (1) a list of floating-point values: Values correspond to the response function coefficient for each consecutive even zonal spherical harmonic degree starting from zero; OR (2) List of lists of floating-point values. One list per unique *b*-value. Each individual list contains a coefficient per even zonal spherical harmonic degree starting from zero. If the response function utilized has a different number of non-zero zonal spherical harmonic coefficients for different *b*-values, these must be padded with zeroes such that all lists contain the same number of floating-point values."
| coefficients | coefficients | REQUIRED. Either a list of floats, or a list of lists of floats, depending on the mathematical form of the response function and possibly the data to which it applies; see further below. |
318
+
| type | type | REQUIRED. String. The mathematical form in which the response function coefficients are provided; see further below. Levels are "eigen" (list of 4 floating-point values must be specified; these are interpreted as three ordered eigenvalues of a rank 2 tensor, followed by a reference *b*=0 intensity.) and "zsh" (Either of (1) a list of floating-point values: Values correspond to the response function coefficient for each consecutive even zonal spherical harmonic degree starting from zero; OR (2) List of lists of floating-point values. One list per unique *b*-value. Each individual list contains a coefficient per even zonal spherical harmonic degree starting from zero. If the response function utilized has a different number of non-zero zonal spherical harmonic coefficients for different *b*-values, these must be padded with zeroes such that all lists contain the same number of floating-point values.) |
424
319
425
320
426
321
### Demonstrative examples
@@ -449,7 +344,9 @@ A guide for using macros can be found at
Dimensions of NIfTI image "`sub-01_model-noddi_param-direction_dwimap.nii.gz`": *I*x*J*x*K*3 ([unit vector](#encoding-3vector))
580
+
680
581
Dimensions of NIfTI image "`sub-01_model-noddi_param-odi_dwimap.nii.gz`": *I*x*J*x*K*1 ([scalar](#encoding-scalar))
582
+
681
583
Dimensions of NIfTI image "`sub-01_model-noddi_param-icvf_dwimap.nii.gz`": *I*x*J*x*K*1 ([scalar](#encoding-scalar))
682
584
683
585
@@ -776,13 +678,21 @@ A guide for using macros can be found at
776
678
) }}
777
679
778
680
Dimensions of NIfTI image "`sub-01_model-bs_desc-mean_param-s0_dwimap.nii.gz`": *I*x*J*x*K* ([scalar](#encoding-scalar))
681
+
779
682
Dimensions of NIfTI image "`sub-01_model-bs_desc-mean_param-polar_dwimap.nii.gz`": *I*x*J*x*K*x(*2*x*N*) ([spherical coordinates](#encoding-spherical), orientations only; *N* orientations per voxel)
683
+
780
684
Dimensions of NIfTI image "`sub-01_model-bs_desc-mean_param-vector_dwimap.nii.gz`": *I*x*J*x*K*x(*3*x*N*) ([3-vectors](#encoding-3vectors), unit norm; *N* orientations per voxel)
685
+
781
686
Dimensions of NIfTI image "`sub-01_model-bs_desc-mean_param-vf_dwimap.nii.gz`": *I*x*J*x*K*x*N* ([scalar](#encoding-scalar); *N* values per voxel)
687
+
782
688
Dimensions of NIfTI image "`sub-01_model-bs_desc-mean_param-vfsum_dwimap.nii.gz`": *I*x*J*x*K* ([scalar](#encoding-scalar))
689
+
783
690
Dimensions of NIfTI image "`sub-01_model-bs_desc-mean_param-diffusivity_dwimap.nii.gz`": *I*x*J*x*K* ([scalar](#encoding-scalar))
691
+
784
692
Dimensions of NIfTI image "`sub-01_model-bs_desc-mean_param-dstd_dwimap.nii.gz`": *I*x*J*x*K* ([scalar](#encoding-scalar))
693
+
785
694
Dimensions of NIfTI image "`sub-01_model-bs_desc-merged_param-polar_dwimap.nii.gz`": *I*x*J*x*K*x(*2*x*N*)x*R* ([spherical coordinates](#encoding-spherical), orientations only; *N* orientations per voxel; *R* bootstrap realizations)
695
+
786
696
Dimensions of NIfTI image "`sub-01_model-bs_desc-merged_param-vf_dwimap.nii.gz`": *I*x*J*x*K*x*N*x*R* ([scalar](#encoding-scalar); *N* values per voxel; *R* bootstrap realizations)
787
697
788
698
Contents of JSON file "`sub-01_model-bs_desc-mean_param-s0_dwimap.json`":
@@ -945,6 +855,7 @@ Contents of JSON file "`sub-01_model-bs_desc-mean_param-dstd_dwimap.json`":
945
855
},
946
856
"Units": "TODO"
947
857
}
858
+
```
948
859
949
860
Contents of JSON file "`sub-01_model-bs_desc-merged_param-polar_dwimap.json`":
950
861
@@ -971,6 +882,7 @@ Contents of JSON file "`sub-01_model-bs_desc-merged_param-polar_dwimap.json`":
971
882
"Type": "unitspherical"
972
883
}
973
884
}
885
+
```
974
886
975
887
Contents of JSON file "`sub-01_model-bs_desc-merged_param-vf_dwimap.json`":
976
888
@@ -995,6 +907,7 @@ Contents of JSON file "`sub-01_model-bs_desc-merged_param-vf_dwimap.json`":
0 commit comments