Skip to content

Commit 874a2cf

Browse files
committed
Move the desc- entity to the end of the file name.
See bids-standard/bids-specification#1895
1 parent edab0fd commit 874a2cf

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

src/derivatives/05-diffusion-derivatives.md

+44-44
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ that warrant explicit mention due to their consequence in how they are represent
5454
<pipeline_name>/
5555
sub-<participant_label>/
5656
dwi/
57-
<source_keywords>[_space-<space>]_model-<label>[_desc-<desc>]_param-<label1>_dwimap.nii[.gz]
58-
<source_keywords>[_space-<space>]_model-<label>[_desc-<desc>]_param-<label1>_dwimap.json
59-
<source_keywords>[_space-<space>]_model-<label>[_desc-<desc>]_param-<label2>_dwimap.nii[.gz]
60-
<source_keywords>[_space-<space>]_model-<label>[_desc-<desc>]_param-<label2>_dwimap.json
61-
<source_keywords>[_space-<space>]_model-<label>[_desc-<desc>]_param-<label3>_dwimap.nii[.gz]
62-
<source_keywords>[_space-<space>]_model-<label>[_desc-<desc>]_param-<label3>_dwimap.json
57+
<source_keywords>[_space-<space>]_model-<label>_param-<label1>[_desc-<desc>]_dwimap.nii[.gz]
58+
<source_keywords>[_space-<space>]_model-<label>_param-<label1>[_desc-<desc>]_dwimap.json
59+
<source_keywords>[_space-<space>]_model-<label>_param-<label2>[_desc-<desc>]_dwimap.nii[.gz]
60+
<source_keywords>[_space-<space>]_model-<label>_param-<label2>[_desc-<desc>]_dwimap.json
61+
<source_keywords>[_space-<space>]_model-<label>_param-<label3>[_desc-<desc>]_dwimap.nii[.gz]
62+
<source_keywords>[_space-<space>]_model-<label>_param-<label3>[_desc-<desc>]_dwimap.json
6363
```
6464

6565
- Files "`<source_keywords>_model-<label>_param-<label*>_dwimap.nii[.gz]`"
@@ -572,41 +572,41 @@ A guide for using macros can be found at
572572
"bedpostx_pipeline": {
573573
"sub-01": {
574574
"dwi": {
575-
"sub-01_model-bs_desc-mean_param-s0_dwimap.nii.gz": "",
576-
"sub-01_model-bs_desc-mean_param-s0_dwimap.json": "",
577-
"sub-01_model-bs_desc-mean_param-polar_dwimap.nii.gz": "",
578-
"sub-01_model-bs_desc-mean_param-polar_dwimap.json": "",
579-
"sub-01_model-bs_desc-mean_param-vector_dwimap.nii.gz": "",
580-
"sub-01_model-bs_desc-mean_param-vector_dwimap.json": "",
581-
"sub-01_model-bs_desc-mean_param-vf_dwimap.nii.gz": "",
582-
"sub-01_model-bs_desc-mean_param-vf_dwimap.json": "",
583-
"sub-01_model-bs_desc-mean_param-vfsum_dwimap.nii.gz": "",
584-
"sub-01_model-bs_desc-mean_param-vfsum_dwimap.json": "",
585-
"sub-01_model-bs_desc-mean_param-diffusivity_dwimap.nii.gz": "",
586-
"sub-01_model-bs_desc-mean_param-diffusivity_dwimap.json": "",
587-
"sub-01_model-bs_desc-mean_param-dstd_dwimap.nii.gz": "",
588-
"sub-01_model-bs_desc-mean_param-dstd_dwimap.json": "",
589-
"sub-01_model-bs_desc-merged_param-polar_dwimap.nii.gz": "",
590-
"sub-01_model-bs_desc-merged_param-polar_dwimap.json": "",
591-
"sub-01_model-bs_desc-merged_param-vf_dwimap.nii.gz": "",
592-
"sub-01_model-bs_desc-merged_param-vf_dwimap.json": "",
575+
"sub-01_model-bs_param-s0_desc-mean_dwimap.nii.gz": "",
576+
"sub-01_model-bs_param-s0_desc-mean_dwimap.json": "",
577+
"sub-01_model-bs_param-polar_desc-mean_dwimap.nii.gz": "",
578+
"sub-01_model-bs_param-polar_desc-mean_dwimap.json": "",
579+
"sub-01_model-bs_param-vector_desc-mean_dwimap.nii.gz": "",
580+
"sub-01_model-bs_param-vector_desc-mean_dwimap.json": "",
581+
"sub-01_model-bs_param-vf_desc-mean_dwimap.nii.gz": "",
582+
"sub-01_model-bs_param-vf_desc-mean_dwimap.json": "",
583+
"sub-01_model-bs_param-vfsum_desc-mean_dwimap.nii.gz": "",
584+
"sub-01_model-bs_param-vfsum_desc-mean_dwimap.json": "",
585+
"sub-01_model-bs_param-diffusivity_desc-mean_dwimap.nii.gz": "",
586+
"sub-01_model-bs_param-diffusivity_desc-mean_dwimap.json": "",
587+
"sub-01_model-bs__param-dstd_desc-mean_dwimap.nii.gz": "",
588+
"sub-01_model-bs__param-dstd_desc-mean_dwimap.json": "",
589+
"sub-01_model-bs_param-polar_desc-merged_dwimap.nii.gz": "",
590+
"sub-01_model-bs_param-polar_desc-merged_dwimap.json": "",
591+
"sub-01_model-bs_param-vf_desc-merged_dwimap.nii.gz": "",
592+
"sub-01_model-bs_param-vf_desc-merged_dwimap.json": "",
593593
},
594594
},
595595
},
596596
}
597597
) }}
598598

599-
Dimensions of NIfTI image "`sub-01_model-bs_desc-mean_param-s0_dwimap.nii.gz`": *I*x*J*x*K* ([scalar](#encoding-scalar))
600-
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)
601-
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)
602-
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)
603-
Dimensions of NIfTI image "`sub-01_model-bs_desc-mean_param-vfsum_dwimap.nii.gz`": *I*x*J*x*K* ([scalar](#encoding-scalar))
604-
Dimensions of NIfTI image "`sub-01_model-bs_desc-mean_param-diffusivity_dwimap.nii.gz`": *I*x*J*x*K* ([scalar](#encoding-scalar))
605-
Dimensions of NIfTI image "`sub-01_model-bs_desc-mean_param-dstd_dwimap.nii.gz`": *I*x*J*x*K* ([scalar](#encoding-scalar))
606-
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 realisations)
607-
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 realisations)
599+
Dimensions of NIfTI image "`sub-01_model-bs_param-s0_desc-mean_dwimap.nii.gz`": *I*x*J*x*K* ([scalar](#encoding-scalar))
600+
Dimensions of NIfTI image "`sub-01_model-bs_param-polar_desc-mean_dwimap.nii.gz`": *I*x*J*x*K*x(*2*x*N*) ([spherical coordinates](#encoding-spherical), orientations only; *N* orientations per voxel)
601+
Dimensions of NIfTI image "`sub-01_model-bs_param-vector_desc-mean_dwimap.nii.gz`": *I*x*J*x*K*x(*3*x*N*) ([3-vectors](#encoding-3vectors), unit norm; *N* orientations per voxel)
602+
Dimensions of NIfTI image "`sub-01_model-bs_param-vf_desc-mean_dwimap.nii.gz`": *I*x*J*x*K*x*N* ([scalar](#encoding-scalar); *N* values per voxel)
603+
Dimensions of NIfTI image "`sub-01_model-bs_param-vfsum_desc-mean_dwimap.nii.gz`": *I*x*J*x*K* ([scalar](#encoding-scalar))
604+
Dimensions of NIfTI image "`sub-01_model-bs_param-diffusivity_desc-mean_dwimap.nii.gz`": *I*x*J*x*K* ([scalar](#encoding-scalar))
605+
Dimensions of NIfTI image "`sub-01_model-bs_param-dstd_desc-mean_dwimap.nii.gz`": *I*x*J*x*K* ([scalar](#encoding-scalar))
606+
Dimensions of NIfTI image "`sub-01_model-bs_param-polar_desc-merged_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 realisations)
607+
Dimensions of NIfTI image "`sub-01_model-bs_param-vf_desc-merged_dwimap.nii.gz`": *I*x*J*x*K*x*N*x*R* ([scalar](#encoding-scalar); *N* values per voxel; *R* bootstrap realisations)
608608

609-
Contents of JSON file "`sub-01_model-bs_desc-mean_param-s0_dwimap.json`":
609+
Contents of JSON file "`sub-01_model-bs_param-s0_desc-mean_dwimap.json`":
610610

611611
```JSON
612612
{
@@ -627,7 +627,7 @@ Contents of JSON file "`sub-01_model-bs_desc-mean_param-s0_dwimap.json`":
627627
}
628628
```
629629

630-
Contents of JSON file "`sub-01_model-bs_desc-mean_param-polar_dwimap.json`":
630+
Contents of JSON file "`sub-01_model-bs_param-polar_desc-mean_dwimap.json`":
631631

632632
```JSON
633633
{
@@ -653,7 +653,7 @@ Contents of JSON file "`sub-01_model-bs_desc-mean_param-polar_dwimap.json`":
653653
}
654654
```
655655

656-
Contents of JSON file "`sub-01_model-bs_desc-mean_param-vector_dwimap.json`":
656+
Contents of JSON file "`sub-01_model-bs_param-vector_desc-mean_dwimap.json`":
657657

658658
```JSON
659659
{
@@ -679,7 +679,7 @@ Contents of JSON file "`sub-01_model-bs_desc-mean_param-vector_dwimap.json`":
679679
}
680680
```
681681

682-
Contents of JSON file "`sub-01_model-bs_desc-mean_param-vf_dwimap.json`":
682+
Contents of JSON file "`sub-01_model-bs_param-vf_desc-mean_dwimap.json`":
683683

684684
```JSON
685685
{
@@ -703,7 +703,7 @@ Contents of JSON file "`sub-01_model-bs_desc-mean_param-vf_dwimap.json`":
703703
}
704704
```
705705

706-
Contents of JSON file "`sub-01_model-bs_desc-mean_param-vfsum_dwimap.json`":
706+
Contents of JSON file "`sub-01_model-bs_param-vfsum_desc-mean_dwimap.json`":
707707

708708
```JSON
709709
{
@@ -724,7 +724,7 @@ Contents of JSON file "`sub-01_model-bs_desc-mean_param-vfsum_dwimap.json`":
724724
}
725725
```
726726

727-
Contents of JSON file "`sub-01_model-bs_desc-mean_param-diffusivity_dwimap.json`":
727+
Contents of JSON file "`sub-01_model-bs_param-diffusivity_desc-mean_dwimap.json`":
728728

729729
```JSON
730730
{
@@ -746,7 +746,7 @@ Contents of JSON file "`sub-01_model-bs_desc-mean_param-diffusivity_dwimap.json`
746746
}
747747
```
748748

749-
Contents of JSON file "`sub-01_model-bs_desc-mean_param-dstd_dwimap.json`":
749+
Contents of JSON file "`sub-01_model-bs_param-dstd_desc-mean_dwimap.json`":
750750

751751
```JSON
752752
{
@@ -767,7 +767,7 @@ Contents of JSON file "`sub-01_model-bs_desc-mean_param-dstd_dwimap.json`":
767767
"Units": "TODO"
768768
}
769769

770-
Contents of JSON file "`sub-01_model-bs_desc-merged_param-polar_dwimap.json`":
770+
Contents of JSON file "`sub-01_model-bs_param-polar_desc-merged_dwimap.json`":
771771

772772
```JSON
773773
{
@@ -793,7 +793,7 @@ Contents of JSON file "`sub-01_model-bs_desc-merged_param-polar_dwimap.json`":
793793
}
794794
}
795795

796-
Contents of JSON file "`sub-01_model-bs_desc-merged_param-vf_dwimap.json`":
796+
Contents of JSON file "`sub-01_model-bs_param-vf_desc-merged_dwimap.json`":
797797

798798
```JSON
799799
{
@@ -828,7 +828,7 @@ Notes:
828828
- Care must be taken for images of greater than three dimensions
829829
where additional dimensions do *not* encode anisotropy information:
830830

831-
- In image `"*_desc-mean*_param-vf_*"`,
831+
- In image `"*_param-vf_desc-mean_dwimap.nii.gz"`,
832832
the fourth image axis encodes scalar information across stick components.
833833
Since this is *not* coefficients in some orientation encoding,
834834
but the image possesses more than three axes,
@@ -838,7 +838,7 @@ Notes:
838838
and therefore the fact that it encodes a scalar parameter
839839
can be robustly inferred without reference to metadata information.
840840

841-
- In image `"sub-01_model-bs_desc-merged_param-vf_dwimap.json"`,
841+
- In image `"sub-01_model-bs_param-vf_desc-merged_dwimap.json"`,
842842
there are two extra image dimensions beyond the three spatial dimensions:
843843
the fourth image axis encodes across the multiple stick components per voxel,
844844
and the fifth axis encodes realisations across bootstraps.

0 commit comments

Comments
 (0)