-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I am exploring whether the resulting datasets are BIDS-compliant enough to run fMRIprep on them. I will report on all problems I encounter as issues.
Invalid slice timing
Some files seem to have invalid slice timing:
I have checked it in two subjects, and they have this issue for different modalities. Subject 10027** has it for resting state fMRI:
2: [ERR] "SliceTiming" value/s contains invalid value as it is greater than RepetitionTime. SliceTiming values should be in seconds not milliseconds (common mistake). (code: 66 - SLICETIMING_VALUES_GREATOR_THAN_REPETITION_TIME)
./sub-10027**/ses-3/func/sub-10027**_ses-3_task-rest_bold.nii.gz
Evidence: 0.805,0.895,0.9825,1.0725,1.1625,1.25,1.34,1.43,1.52,1.6075,1.6975,1.7875,1.8775,1.965,2.055,2.145,2.235,2.3225,2.4125,2.5025,2.5925,2.68,2.77,2.86,2.95,3.0375,3.1275,3.2175,3.3075,3.395,3.485,3.575,3.665,3.7525,3.8425,3.9325,4.0225,4.11,4.2,4.29,4.38,4.4675,4.5575,4.6475,4.7375,4.825,4.915,5.005,5.095,5.1825,5.2725,5.3625,5.4525,5.54,5.63
subject 10025** has is for task-hariri:
1: [ERR] "SliceTiming" value/s contains invalid value as it is greater than RepetitionTime. SliceTiming values should be in seconds not milliseconds (common mistake). (code: 66 - SLICETIMING_VALUES_GREATOR_THAN_REPETITION_TIME)
./sub-10025**/ses-2/func/sub-10025**_ses-2_task-hariri_bold.nii.gz
Evidence: 0.805,0.8925,0.9825,1.0725,1.1625,1.25,1.34,1.43,1.52,1.6075,1.6975,1.7875,1.8775,1.965,2.055,2.145,2.235,2.3225,2.4125,2.5025,2.59,2.68,2.77,2.86,2.9475,3.0375,3.1275,3.2175,3.305,3.395,3.485,3.575,3.6625,3.7525,3.8425,3.9325,4.02,4.11,4.2,4.29,4.3775,4.4675,4.5575,4.6475,4.735,4.825,4.915,5.005,5.0925,5.1825,5.2725,5.3625,5.45,5.54,5.63
Here is the corresponding faulty (?) json sidecar for subject 10025**'s hariri task, and how it looks in subject 10027**:
cat fmriprep/sub-10025**/ses-2/func/sub-10025**_ses-2_task-hariri_bold.json | jq 1 !
{
"Manufacturer": "Siemens",
"ManufacturersModelName": "Skyra",
"ImageType": [
"ORIGINAL",
"PRIMARY",
"M",
"MB",
"ND",
"MOSAI"
],
"AcquisitionTime": 90735.7425,
"AcquisitionDate": 20170512,
"MagneticFieldStrength": 3,
"FlipAngle": 51,
"EchoTime": 0.0424,
"RepetitionTime": 0.735,
"EffectiveEchoSpacing": 0.000639989,
"SliceTiming": [
0,
0.09,
0.1775,
0.2675,
0.3575,
0.4475,
0.535,
0.625,
0.715,
0.805,
0.8925,
0.9825,
1.0725,
1.1625,
1.25,
1.34,
1.43,
1.52,
1.6075,
1.6975,
1.7875,
1.8775,
1.965,
2.055,
2.145,
2.235,
2.3225,
2.4125,
2.5025,
2.59,
2.68,
2.77,
2.86,
2.9475,
3.0375,
3.1275,
3.2175,
3.305,
3.395,
3.485,
3.575,
3.6625,
3.7525,
3.8425,
3.9325,
4.02,
4.11,
4.2,
4.29,
4.3775,
4.4675,
4.5575,
4.6475,
4.735,
4.825,
4.915,
5.005,
5.0925,
5.1825,
5.2725,
5.3625,
5.45,
5.54,
5.63
],
"PhaseEncodingDirection": "j-"
}
Here is how is looks like for subject 10027** (where this task does not through an error):
cat fmriprep/sub-10027**/ses-2/func/sub-10027**_ses-2_task-hariri_bold.json | jq
{
"Manufacturer": "Siemens",
"ManufacturersModelName": "Skyra",
"ImageType": [
"ORIGINAL",
"PRIMARY",
"M",
"MB",
"ND",
"MOSAI"
],
"AcquisitionTime": 82349.7575,
"AcquisitionDate": 20170829,
"MagneticFieldStrength": 3,
"FlipAngle": 51,
"EchoTime": 0.0424,
"RepetitionTime": 0.735,
"EffectiveEchoSpacing": 0.000639989,
"SliceTiming": [
0,
0.2675,
0.535,
0.0875,
0.3575,
0.625,
0.1775,
0.445,
0,
0.2675,
0.535,
0.0875,
0.3575,
0.625,
0.1775,
0.445,
0,
0.2675,
0.535,
0.0875,
0.3575,
0.625,
0.1775,
0.445,
0,
0.2675,
0.535,
0.0875,
0.3575,
0.625,
0.1775,
0.445,
0,
0.2675,
0.535,
0.0875,
0.3575,
0.625,
0.1775,
0.445,
0,
0.2675,
0.535,
0.0875,
0.3575,
0.625,
0.1775,
0.445,
0,
0.2675,
0.535,
0.0875,
0.3575,
0.625,
0.1775,
0.445,
0,
0.2675,
0.535,
0.0875,
0.3575,
0.625,
0.1775,
0.445
],
"PhaseEncodingDirection": "j-"
}
Here is the corresponding faulty (?) json sidecar for subject 10027**'s hariri task, and how it looks in subject 10025**:
faulty:
cat fmriprep/sub-10027**/ses-3/func/sub-10027**_ses-3_task-rest_bold.json | jq
{
"Manufacturer": "Siemens",
"ManufacturersModelName": "Skyra",
"ImageType": [
"ORIGINAL",
"PRIMARY",
"M",
"MB",
"ND",
"MOSAI"
],
"AcquisitionTime": 83200.67,
"AcquisitionDate": 20190907,
"MagneticFieldStrength": 3,
"FlipAngle": 51,
"EchoTime": 0.039,
"RepetitionTime": 0.735,
"EffectiveEchoSpacing": 0.000639989,
"SliceTiming": [
0,
0.09,
0.18,
0.2675,
0.3575,
0.4475,
0.5375,
0.625,
0.715,
0.805,
0.895,
0.9825,
1.0725,
1.1625,
1.25,
1.34,
1.43,
1.52,
1.6075,
1.6975,
1.7875,
1.8775,
1.965,
2.055,
2.145,
2.235,
2.3225,
2.4125,
2.5025,
2.5925,
2.68,
2.77,
2.86,
2.95,
3.0375,
3.1275,
3.2175,
3.3075,
3.395,
3.485,
3.575,
3.665,
3.7525,
3.8425,
3.9325,
4.0225,
4.11,
4.2,
4.29,
4.38,
4.4675,
4.5575,
4.6475,
4.7375,
4.825,
4.915,
5.005,
5.095,
5.1825,
5.2725,
5.3625,
5.4525,
5.54,
5.63
],
"PhaseEncodingDirection": "j-"
}
Here is how it looks for the other subject (where the task does not throw an error)
cat fmriprep/sub-10025**/ses-3/func/sub-10025**_ses-3_task-rest_bold.json | jq
{
"Manufacturer": "Siemens",
"ManufacturersModelName": "Skyra",
"ImageType": [
"ORIGINAL",
"PRIMARY",
"M",
"MB",
"ND",
"MOSAI"
],
"AcquisitionTime": 93213.705,
"AcquisitionDate": 20190806,
"MagneticFieldStrength": 3,
"FlipAngle": 51,
"EchoTime": 0.0424,
"RepetitionTime": 0.735,
"EffectiveEchoSpacing": 0.000639989,
"SliceTiming": [
0,
0.2675,
0.535,
0.09,
0.3575,
0.625,
0.1775,
0.4475,
0,
0.2675,
0.535,
0.09,
0.3575,
0.625,
0.1775,
0.4475,
0,
0.2675,
0.535,
0.09,
0.3575,
0.625,
0.1775,
0.4475,
0,
0.2675,
0.535,
0.09,
0.3575,
0.625,
0.1775,
0.4475,
0,
0.2675,
0.535,
0.09,
0.3575,
0.625,
0.1775,
0.4475,
0,
0.2675,
0.535,
0.09,
0.3575,
0.625,
0.1775,
0.4475,
0,
0.2675,
0.535,
0.09,
0.3575,
0.625,
0.1775,
0.4475,
0,
0.2675,
0.535,
0.09,
0.3575,
0.625,
0.1775,
0.4475
],
"PhaseEncodingDirection": "j-"
}
Metadata
Metadata
Assignees
Labels
No labels