Skip to content

Commit cd17a6e

Browse files
authored
Add BIDS in test data (#12)
1 parent e515e65 commit cd17a6e

File tree

184 files changed

+5060
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+5060
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ share/python-wheels/
2525
.installed.cfg
2626
*.egg
2727
MANIFEST
28+
.idea
29+
.DS_Store
2830

2931
# PyInstaller
3032
# Usually these files are written by a python script from a template
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"ignore": [
3+
"NIFTI_UNIT",
4+
"INCONSISTENT_PARAMETERS",
5+
"SLICE_TIMING_NOT_DEFINED",
6+
"NIFTI_PIXDIM4",
7+
"BOLD_NOT_4D",
8+
"REPETITION_TIME_MUST_DEFINE",
9+
"TASK_NAME_MUST_DEFINE",
10+
"MISSING_SESSION",
11+
"INCONSISTENT_SUBJECTS",
12+
"SCANS_FILENAME_NOT_MATCH_DATASET",
13+
"CUSTOM_COLUMN_WITHOUT_DESCRIPTION",
14+
"NO_AUTHORS"
15+
],
16+
"warn": [],
17+
"error": [],
18+
"ignoredFiles": []
19+
}

tests/data/bids/.bidsignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
swi/
2+
conversion_info/

tests/data/bids/README

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This BIDS directory was generated with Clinica v0.7.4.
2+
More information on https://www.clinica.run
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"Name": "TEST",
3+
"BIDSVersion": "1.10.0",
4+
"DatasetType": "raw"
5+
}

tests/data/bids/participants.tsv

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
participant_id
2+
sub-001
3+
sub-002
4+
sub-003
5+
sub-004
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"MRAcquisitionType": "3D",
3+
"PulseSequenceType": "RM",
4+
"Manufacturer": "GE MEDICAL SYSTEMS",
5+
"MagneticFieldStrength": "1.5"
6+
}

tests/data/bids/sub-001/ses-M000/anat/sub-001_ses-M000_T1w.nii.gz

Whitespace-only changes.

tests/data/bids/sub-001/ses-M000/pet/sub-001_ses-M000_trc-18FFDG_rec-coregavg_pet.nii.gz

Whitespace-only changes.

tests/data/bids/sub-001/ses-M000/pet/sub-001_ses-M000_trc-18FFDG_rec-coregiso_pet.nii.gz

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
filename scan_id mri_field acq_time
2+
0 anat/sub-001_ses-M000_T1w.nii.gz 34316 1.5 2005-12-09
3+
1 pet/sub-001_ses-M000_trc-18FFDG_rec-coregavg_pet.nii.gz 26939
4+
2 pet/sub-001_ses-M000_trc-18FFDG_rec-coregiso_pet.nii.gz 26939
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"Modality": "MR",
3+
"ImagingFrequency": 127.704,
4+
"PulseSequenceName": "CubeT2flair",
5+
"ManufacturersModelName": "DISCOVERY MR750",
6+
"InstitutionName": "UIRR",
7+
"DeviceSerialNumber": "6cnQ6wuFVm2vRB7ybMfpFTk",
8+
"BodyPartExamined": "BRAIN",
9+
"PatientPosition": "HFS",
10+
"SoftwareVersions": "27\\LX\\MR Software release:DV25.1_R03_1802.a",
11+
"SeriesDescription": "Sagittal 3D FLAIR",
12+
"ProtocolName": "ADNI3 Basic Human Protoc",
13+
"ScanningSequence": "SE\\IR",
14+
"SequenceVariant": "SK",
15+
"ScanOptions": "SAT_GEMS\\EDR_GEMS\\FILTERED_GEMS\\ACC_GEMS\\FS",
16+
"ImageType": [
17+
"ORIGINAL",
18+
"PRIMARY",
19+
"OTHER"
20+
],
21+
"SeriesNumber": 5,
22+
"AcquisitionTime": "10:16:36.000000",
23+
"AcquisitionNumber": 1,
24+
"SliceThickness": 1.2,
25+
"SpacingBetweenSlices": 1.2,
26+
"SAR": 0.718189,
27+
"EchoTime": 0.11668,
28+
"RepetitionTime": 4.8,
29+
"InversionTime": 1.476,
30+
"FlipAngle": 90,
31+
"CoilString": "8HRBRAIN",
32+
"PercentPhaseFOV": 100,
33+
"PercentSampling": 100,
34+
"EchoTrainLength": 182,
35+
"AcquisitionMatrixPE": 256,
36+
"ReconMatrixPE": 256,
37+
"ParallelReductionFactorInPlane": 2,
38+
"ParallelReductionOutOfPlane": 2,
39+
"PixelBandwidth": 244.141,
40+
"PhaseEncodingAxis": "i",
41+
"ImageOrientationPatientDICOM": [
42+
0,
43+
1,
44+
0,
45+
0,
46+
0,
47+
-1
48+
],
49+
"InPlanePhaseEncodingDirectionDICOM": "ROW",
50+
"ConversionSoftware": "dcm2niix",
51+
"ConversionSoftwareVersion": "v1.0.20220505"
52+
}

tests/data/bids/sub-001/ses-M156/anat/sub-001_ses-M156_FLAIR.nii.gz

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"MRAcquisitionType": "3D",
3+
"PulseSequenceType": "GR",
4+
"Manufacturer": "GE MEDICAL SYSTEMS",
5+
"MagneticFieldStrength": "3.0"
6+
}

tests/data/bids/sub-001/ses-M156/anat/sub-001_ses-M156_T1w.nii.gz

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0 0 0 0 0 0 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
0 0 0 0 0 0 -1 -0.48 0.155 -0.942 -0.029 0.635 -0.504 -0.135 -0.759 0.031 -0.11 -0.377 0.31 0.57 0.643 0.768 -0.749 -0.421 0.257 0.778 -0.612 0.518 -0.93 -0.405 0.193 -0.318 -0.915 -0.215 0.557 -0.946 0.303 0.06 0.252 0.621 0.864 0.932 -0.643 0.338 -0.823 0.375 -0.661 -0.031 0.608 0.015 -0.806 0.279 0.383 -0.812
2+
0 0 0 0 0 0 0 0.877 0.466 -0.303 -0.482 -0.149 0.337 0.99 0.261 -0.959 -0.944 -0.692 -0.713 0.752 0.035 -0.64 -0.151 -0.249 -0.899 0.572 0.724 0.356 0.058 0.687 -0.513 -0.894 0.039 -0.201 0.672 0.324 0.644 0.021 -0.169 -0.439 -0.349 0.262 -0.765 0.937 0.464 -0.075 0.652 -0.8 0.469 0.776 -0.285 -0.406 -0.864 -0.518
3+
0 0 0 0 0 0 0 0 0.871 0.146 0.876 0.758 0.795 0.042 0.596 0.283 -0.312 -0.616 0.629 0.331 -0.765 0.032 -0.645 -0.872 -0.356 -0.258 0.318 -0.778 0.364 0.604 -0.836 0.315 -0.402 0.956 -0.487 -0.003 -0.703 0.998 -0.953 0.649 0.364 0.25 0.042 0.085 0.327 0.924 -0.372 0.599 0.64 0.63 0.519 0.87 0.328 -0.269
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"Modality": "MR",
3+
"ImagingFrequency": 127.704,
4+
"PulseSequenceName": "epi2",
5+
"InternalPulseSequenceName": "EPI2",
6+
"ManufacturersModelName": "DISCOVERY MR750",
7+
"InstitutionName": "UIRR",
8+
"DeviceSerialNumber": "6cnQ6wuFVm2vRB7ybMfpFTk",
9+
"BodyPartExamined": "BRAIN",
10+
"PatientPosition": "HFS",
11+
"SoftwareVersions": "27\\LX\\MR Software release:DV25.1_R03_1802.a",
12+
"SeriesDescription": "Axial DTI",
13+
"ProtocolName": "ADNI3 Basic Human Protoc",
14+
"ScanningSequence": "EP\\SE",
15+
"SequenceVariant": "NONE",
16+
"ScanOptions": "SAT_GEMS\\EPI_GEMS\\FILTERED_GEMS\\ACC_GEMS\\PFF\\FS",
17+
"ImageType": [
18+
"ORIGINAL",
19+
"PRIMARY",
20+
"OTHER"
21+
],
22+
"SeriesNumber": 8,
23+
"AcquisitionTime": "10:35:14.000000",
24+
"AcquisitionNumber": 1,
25+
"SliceThickness": 2,
26+
"SpacingBetweenSlices": 2,
27+
"SAR": 0.700869,
28+
"EchoTime": 0.0604,
29+
"RepetitionTime": 7.8,
30+
"FlipAngle": 90,
31+
"PhaseEncodingPolarityGE": "Flipped",
32+
"CoilString": "8HRBRAIN",
33+
"PercentPhaseFOV": 100,
34+
"PercentSampling": 100,
35+
"AcquisitionMatrixPE": 116,
36+
"ReconMatrixPE": 256,
37+
"ParallelReductionFactorInPlane": 2,
38+
"EffectiveEchoSpacing": 0.000158259,
39+
"TotalReadoutTime": 0.040356,
40+
"PixelBandwidth": 1953.12,
41+
"PhaseEncodingDirection": "j",
42+
"ImageOrientationPatientDICOM": [
43+
1,
44+
0,
45+
0,
46+
0,
47+
1,
48+
0
49+
],
50+
"InPlanePhaseEncodingDirectionDICOM": "COL",
51+
"ConversionSoftware": "dcm2niix",
52+
"ConversionSoftwareVersion": "v1.0.20220505"
53+
}

tests/data/bids/sub-001/ses-M156/dwi/sub-001_ses-M156_dwi.nii.gz

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"Modality": "MR",
3+
"ImagingFrequency": 127.704,
4+
"PulseSequenceName": "epi",
5+
"InternalPulseSequenceName": "EPI",
6+
"ManufacturersModelName": "DISCOVERY MR750",
7+
"InstitutionName": "UIRR",
8+
"DeviceSerialNumber": "6cnQ6wuFVm2vRB7ybMfpFTk",
9+
"BodyPartExamined": "BRAIN",
10+
"PatientPosition": "HFS",
11+
"SoftwareVersions": "27\\LX\\MR Software release:DV25.1_R03_1802.a",
12+
"SeriesDescription": "Axial rsfMRI (Eyes Open)",
13+
"ProtocolName": "ADNI3 Basic Human Protoc",
14+
"ScanningSequence": "EP\\GR",
15+
"SequenceVariant": "SS",
16+
"ScanOptions": "MP_GEMS\\EPI_GEMS",
17+
"ImageType": [
18+
"ORIGINAL",
19+
"PRIMARY",
20+
"OTHER"
21+
],
22+
"SeriesNumber": 9,
23+
"AcquisitionTime": "10:43:51.000000",
24+
"AcquisitionNumber": 1,
25+
"TriggerDelayTime": 599938,
26+
"SliceThickness": 3.4,
27+
"SpacingBetweenSlices": 3.4,
28+
"SAR": 0.338675,
29+
"EchoTime": 0.03,
30+
"RepetitionTime": 3,
31+
"FlipAngle": 90,
32+
"PhaseEncodingPolarityGE": "Flipped",
33+
"CoilString": "8HRBRAIN",
34+
"PercentPhaseFOV": 100,
35+
"PercentSampling": 100,
36+
"AcquisitionMatrixPE": 64,
37+
"ReconMatrixPE": 64,
38+
"EffectiveEchoSpacing": 0.000416,
39+
"TotalReadoutTime": 0.026208,
40+
"PixelBandwidth": 7812.5,
41+
"PhaseEncodingDirection": "j",
42+
"SliceTiming": [
43+
0,
44+
1.5,
45+
0.0625,
46+
1.5625,
47+
0.125,
48+
1.625,
49+
0.1875,
50+
1.6875,
51+
0.25,
52+
1.75,
53+
0.3125,
54+
1.8125,
55+
0.375,
56+
1.875,
57+
0.4375,
58+
1.9375,
59+
0.5,
60+
2,
61+
0.5625,
62+
2.0625,
63+
0.625,
64+
2.125,
65+
0.6875,
66+
2.1875,
67+
0.75,
68+
2.25,
69+
0.8125,
70+
2.3125,
71+
0.875,
72+
2.375,
73+
0.9375,
74+
2.4375,
75+
1,
76+
2.5,
77+
1.0625,
78+
2.5625,
79+
1.125,
80+
2.625,
81+
1.1875,
82+
2.6875,
83+
1.25,
84+
2.75,
85+
1.3125,
86+
2.8125,
87+
1.375,
88+
2.875,
89+
1.4375,
90+
2.9375
91+
],
92+
"ImageOrientationPatientDICOM": [
93+
1,
94+
0,
95+
0,
96+
0,
97+
1,
98+
0
99+
],
100+
"InPlanePhaseEncodingDirectionDICOM": "COL",
101+
"ConversionSoftware": "dcm2niix",
102+
"ConversionSoftwareVersion": "v1.0.20220505"
103+
}

tests/data/bids/sub-001/ses-M156/func/sub-001_ses-M156_task-rest_bold.nii.gz

Whitespace-only changes.

tests/data/bids/sub-001/ses-M156/pet/sub-001_ses-M156_trc-18FAV45_pet.nii.gz

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
filename scan_id mri_field acq_time
2+
0 dwi/sub-001_ses-M156_dwi.json 1120329
3+
1 dwi/sub-001_ses-M156_dwi.nii.gz 1120329
4+
2 dwi/sub-001_ses-M156_dwi.bval 1120329
5+
3 dwi/sub-001_ses-M156_dwi.bvec 1120329
6+
4 anat/sub-001_ses-M156_FLAIR.nii.gz 1120322 3.0
7+
5 anat/sub-001_ses-M156_FLAIR.json 1120322 3.0
8+
6 anat/sub-001_ses-M156_T1w.nii.gz 1120324 3.0 2019-01-24
9+
7 pet/sub-001_ses-M156_trc-18FAV45_pet.nii.gz 1121997
10+
8 func/sub-001_ses-M156_task-rest_bold.json 1120325
11+
9 func/sub-001_ses-M156_task-rest_bold.nii.gz 1120325

0 commit comments

Comments
 (0)